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
If Service A has a mutation accepting a GraphQLDate input and it needs to delegate or forward that to another Service B with the same signature, the GraphQLDate yyyy-mm-dd string will be converted to a full DateTime string yyyy-mm-ddT00:00:00Z before arriving at Service B which fails validation.
For example, if the same mutation exists both in Service A and Service B, with A delegating the mutation to Service B:
You are already stripping the time component when serializing the GraphQL date. Can we do the same when parsing so that values can be passed from service to service?
The text was updated successfully, but these errors were encountered:
If Service A has a mutation accepting a GraphQLDate input and it needs to delegate or forward that to another Service B with the same signature, the GraphQLDate
yyyy-mm-dd
string will be converted to a full DateTime stringyyyy-mm-ddT00:00:00Z
before arriving at Service B which fails validation.For example, if the same mutation exists both in Service A and Service B, with A delegating the mutation to Service B:
And a client mutates Service A with the following
When service B receives the mutation, it will see the following as the input because it is being parsed to a JS Date object in service A:
Which fails validation.
You are already stripping the time component when serializing the GraphQL date. Can we do the same when parsing so that values can be passed from service to service?
The text was updated successfully, but these errors were encountered: