fix(OPENFRAM-002-3): NodeDataFetcher uses @Autowired field injection for TenantRepository instead of constructor injection - #1881
Conversation
…for TenantRepository instead of constructor injection
🦩 What this fix changed, finding by finding1 finding(s) fixed in this draft. (Inline placement was rejected by GitHub for this PR.) 🔴 1. NodeDataFetcher uses @Autowired field injection for TenantRepository instead of constructor injection — 🤖 Prompt for AI agentsfix confidence: 🟡 75 medium — react 👍/👎 to teach the reviewer |
Closes findings from rule OPENFRAM-002-3 — NodeDataFetcher uses @Autowired field injection for TenantRepository instead of constructor injection.
Draft — this is a starting point, not a finished change. The fix required judgment, so read it before trusting it.
openframe-api-service-core/src/main/java/com/openframe/api/datafetcher/NodeDataFetcher.java:42What changed — and what was deliberately left — is explained per finding as inline review comments on the lines each finding touched.
Run: https://product-hub.flamingo.so/admin/code-review
Run id:
59051284-b3d6-4391-892c-38c8737386e1Merging this PR is recorded as acceptance of the rule that produced it;
closing it unmerged is recorded as rejection. Both feed rule health, so
closing a wrong suggestion is useful rather than merely tidy.