You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes i was able to reproduce the error. I am trying to figure out how to solve this. Anyway the better way of handling fields is with data fetchers - create a separate class annotated with component and you can inject the service there
For example, I create a class QueryImpl, as below.
@Component class QueryImpl implements Query { @Autowired private DatabaseService db; }
the db is null, spring cannot inject beans into the query.
The text was updated successfully, but these errors were encountered: