Skip to content

Introduce autowired class variables#2248

Merged
EgorkaKulikov merged 2 commits into
mainfrom
egor/cg_autowire_repositories
Jun 16, 2023
Merged

Introduce autowired class variables#2248
EgorkaKulikov merged 2 commits into
mainfrom
egor/cg_autowire_repositories

Conversation

@EgorkaKulikov

@EgorkaKulikov EgorkaKulikov commented Jun 1, 2023

Copy link
Copy Markdown
Collaborator

Description

Fixes # (2240)

How to test

Manual tests

Verify that repository is autowired in generated tests in any projects containing repositories.

Self-check list

  • I've set the proper labels for my PR (at least, for category and component).
  • PR title and description are clear and intelligible.
  • I've added enough comments to my code, particularly in hard-to-understand areas.
  • The functionality I've repaired, changed or added is covered with automated tests.
  • Manual tests have been provided optionally.
  • The documentation for the functionality I've been working on is up-to-date.

@EgorkaKulikov EgorkaKulikov linked an issue Jun 1, 2023 that may be closed by this pull request
@EgorkaKulikov EgorkaKulikov added comp-codegen Issue is related to code generator ctg-enhancement New feature, improvement or change request comp-spring Issue is related to Spring projects support labels Jun 1, 2023
@EgorkaKulikov EgorkaKulikov force-pushed the egor/cg_autowire_repositories branch 2 times, most recently from d521214 to 318e8f5 Compare June 1, 2023 11:46
@EgorkaKulikov EgorkaKulikov force-pushed the egor/cg_autowire_repositories branch 5 times, most recently from 100f46c to 5624239 Compare June 15, 2023 16:27
@EgorkaKulikov EgorkaKulikov force-pushed the egor/cg_autowire_repositories branch from 5624239 to 445d499 Compare June 15, 2023 16:27
@EgorkaKulikov EgorkaKulikov marked this pull request as ready for review June 15, 2023 17:52
@EgorkaKulikov EgorkaKulikov merged commit 8227e23 into main Jun 16, 2023
@EgorkaKulikov EgorkaKulikov deleted the egor/cg_autowire_repositories branch June 16, 2023 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-codegen Issue is related to code generator comp-spring Issue is related to Spring projects support ctg-enhancement New feature, improvement or change request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Properly support autowired variables in codegen

2 participants