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
A client app is trying to map to a secondary datasource in a domain object, but defaults to the first datasource.
Another client app works around this by overriding several RestController methods and wrapping them in restTarget.withTransaction, and references this Grails issue: grails/grails-core#10383
We should be able to apply this pattern within RestController so that app's have this support out of the box.
The text was updated successfully, but these errors were encountered:
A client app is trying to map to a secondary datasource in a domain object, but defaults to the first datasource.
Another client app works around this by overriding several RestController methods and wrapping them in
restTarget.withTransaction
, and references this Grails issue: grails/grails-core#10383We should be able to apply this pattern within RestController so that app's have this support out of the box.
The text was updated successfully, but these errors were encountered: