Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api.Gen task @requirements prevents module generation when app code references generated structs #63

Open
LoisSotoLopez opened this issue Jul 30, 2024 · 0 comments

Comments

@LoisSotoLopez
Copy link

LoisSotoLopez commented Jul 30, 2024

This @requirements

@requirements ["app.start"]
causes trying to start my project apps. Since my code references the structs produced by the generator, it can't compile until the api.gen task has completed. A needs B, B requires A.

  1. Wouldn't add an useful bit of flexibility to the tool to remove that @requirements attribute? Knowing why it was added would be quite insightful for me :)
  2. If removing that attribute is not an option, could I get some help on how to use the generator when my actual code references the generated structs?
@LoisSotoLopez LoisSotoLopez changed the title Api.Gen task @requirements prevent module generation when app code references generated structs Api.Gen task @requirements prevents module generation when app code references generated structs Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant