We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05cdd63 commit 21578d0Copy full SHA for 21578d0
env-model-generator/src/parseJson.ts
@@ -67,7 +67,7 @@ export async function collectBeansFromConfigFile(filePath: string): Promise<stri
67
model.Repository.addAlias(beanDefinitionMethod.specifiedNames[i], id);
68
}
69
checkBeanId(id, `@Bean annotation on '${configurationClassName}.${beanDefinitionMethodName}'`);
70
- beansById.set(id, { className: configurationClassName, name: configurationClassName, method: beanDefinitionMethod });
+ beansById.set(id, { className: configurationClassName, name: beanDefinitionMethodName, method: beanDefinitionMethod });
71
model.Repository.registerIdForClass(beanDefinitionMethod.type, id);
72
73
0 commit comments