Serializable objects should be annotated with @Serdeable
Actual Behaviour
ConfigServerResponse and ConfigServerPropertySource classes are not annotated with @Serdeable and then in produce this error
Caused by: io.micronaut.core.beans.exceptions.IntrospectionException: No bean introspection available for type [class io.micronaut.discovery.spring.config.client.ConfigServerResponse]. Ensure the class is annotated with io.micronaut.core.annotation.Introspected
One could use @SerdeImport(ConfigServerResponse.class) but ConfigServerPropertySource has a protected constructor and then it doesn't work.
Steps To Reproduce
Generate a project with this configuration (It's for Consul, weirdly there is no SpringCloud Config feature)
Remove Consul properties and add these (replace with your SCC instance)
Expected Behavior
Very similar to #552
Serializable objects should be annotated with @Serdeable
Actual Behaviour
ConfigServerResponse and ConfigServerPropertySource classes are not annotated with @Serdeable and then in produce this error
Caused by: io.micronaut.core.beans.exceptions.IntrospectionException: No bean introspection available for type [class io.micronaut.discovery.spring.config.client.ConfigServerResponse]. Ensure the class is annotated with io.micronaut.core.annotation.Introspected
One could use
@SerdeImport(ConfigServerResponse.class)
butConfigServerPropertySource
has a protected constructor and then it doesn't work.Steps To Reproduce
Environment Information
No response
Example Application
No response
Version
4.x