Closed costela closed 5 months ago
Closing in favor of #316 which makes this as a narrower change to support existing syntax. If you're interested, you could revisit adding the shorthand (package_bindings: .
etc.); I think doing that separately will make some of the still-questions about what syntax we should support clearer.
This allows one to generate code in an existing package without causing import loops.
It is now possible to use something like the following (assuming we're in module
github.com/foo/bar
):or (shorthand variant of the example above)
or
The last example assumes some file in
generated/
defines the typeBar
.Closes #283