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
This is not such a big problem after all, as all calls eventually reach GetAsync(), which is the place to override and switch databases based on IJsonApiRequest.IsReadOnly.
This bug affects APIs that use a master database to write changes to while using a set of read-only replicates to serve GET requests.
The query to determine initial state is sent to the read-only database on POST Many-to-many and DELETE To-many relationship requests.
Affected code:
JsonApiDotNetCore/src/JsonApiDotNetCore/Services/JsonApiResourceService.cs
Line 350 in 1b01e52
Instead it should call:
The text was updated successfully, but these errors were encountered: