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
See #36064 and in particular #36064 (comment) for background. When using Testcontainers at development time with @ServiceConnection on a @Bean method, there's an increased need to use the name attribute of @ServiceConnection as the container instance isn't available for us to call getDockerImageName() on it. We should document this, describing when to use the name attribute and explaining why it's necessary.
The text was updated successfully, but these errors were encountered:
scottfrederick
changed the title
When using Testcontainers are development time with @ServiceConnection on a @Bean method, describe when to use the name attribute and why
When using Testcontainers at development time with @ServiceConnection on a @Bean method, describe when to use the name attribute and why
Oct 23, 2023
See #36064 and in particular #36064 (comment) for background. When using Testcontainers at development time with
@ServiceConnection
on a@Bean
method, there's an increased need to use thename
attribute of@ServiceConnection
as the container instance isn't available for us to callgetDockerImageName()
on it. We should document this, describing when to use thename
attribute and explaining why it's necessary.The text was updated successfully, but these errors were encountered: