File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 306306
307307## Development
308308
309+ The logic for generating the Dhall code doesn't reside within this
310+ repository but actually resides within the
311+ [ ` dhall-openapi ` ] ( https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-openapi )
312+ subproject of the [ ` dhall-haskell ` ] ( https://github.com/dhall-lang/dhall-haskell )
313+ repository. That means that if you want to change the generated code you will
314+ need to do so in two steps:
315+
316+ * Make a pull request against the upstream ` dhall-haskell ` repository to
317+ change the code generated by ` dhall-openapi `
318+
319+ * Make a pull request against this repository to pick up a newer reference
320+ to the ` dhall-haskell ` repository incorporating the change to ` dhall-openapi `
321+
322+ If you try to create a pull request to amend the generated Dhall files directly
323+ then CI will reject the pull request since it verifies that the Dhall code
324+ stored in version control matches what ` dhall-openapi ` would generate from the
325+ Kubernetes OpenAPI specification.
326+
309327### Updating the ` dhall-openapi ` dependency
310328
311329The ` dhall-openapi ` dependency is a subproject of the ` dhall-haskell `
You can’t perform that action at this time.
0 commit comments