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 Generator: Fix imports in generated code for more than one level deep relations #2091

Merged
merged 3 commits into from
Jun 11, 2024

Conversation

nsams
Copy link
Member

@nsams nsams commented May 22, 2024

Fix two related issues:

  • input class: for more than one level deep nested impouts use the last entry from nestedInputFiles as that is the correct file
  • resolver imports: collect injectRepositories not only for generating constructor injects but also generate imports from it

… deep relations

Fix two related issues:
- input class: for more than one level deep nested impouts use the last entry from nestedInputFiles as that is the correct file
- resolver imports: collect injectRepositories not only for generating constructor injects but also generate imports from it
@nsams nsams requested a review from johnnyomair May 22, 2024 06:29
@nsams nsams self-assigned this May 22, 2024
@johnnyomair johnnyomair changed the title Crud Generator: Fix imports in generated code for more than one level deep relations API Generator: Fix imports in generated code for more than one level deep relations Jun 10, 2024
@johnnyomair johnnyomair merged commit ebdd108 into main Jun 11, 2024
11 checks passed
@johnnyomair johnnyomair deleted the apigen-fix-deep-relations branch June 11, 2024 08:40
fichtnerma pushed a commit that referenced this pull request Jul 18, 2024
…deep relations (#2091)

Fix two related issues:
- input class: for more than one level deep nested impouts use the last
entry from nestedInputFiles as that is the correct file
- resolver imports: collect injectRepositories not only for generating
constructor injects but also generate imports from it

---------

Co-authored-by: Johannes Obermair <48853629+johnnyomair@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

2 participants