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
The resolver in the remote schema reads from the same DB as Hasura, but it looks like it's getting an older version of the interesting_object without the updated value for some_field. I set this up locally and also added some delay in the resolver so I think it's because at the time when the remote schema is invoked the mutation transaction hasn't yet been committed. Is this expected behavior?
PS: I know there are other ways to achieve something similar using functions in Postgres, unfortunately in this case I really do need to run some custom code to generate an_interesting_detail.
The text was updated successfully, but these errors were encountered:
Noticed this on Hasura 1.3.3, minimal example:
remote
:interesting_objects
:remote.interesting_object_details
tointeresting_objects.details
with theid
mapped as parameter.So now I send this mutation:
The resolver in the remote schema reads from the same DB as Hasura, but it looks like it's getting an older version of the
interesting_object
without the updated value forsome_field
. I set this up locally and also added some delay in the resolver so I think it's because at the time when the remote schema is invoked the mutation transaction hasn't yet been committed. Is this expected behavior?PS: I know there are other ways to achieve something similar using functions in Postgres, unfortunately in this case I really do need to run some custom code to generate
an_interesting_detail
.The text was updated successfully, but these errors were encountered: