We have a nested graphql query
steps: [
{timeframe: datetimerange},
{
output: [
{timeframe: datetimerange},
{outputid: true}
]
}
]
where the datetimerange of type DateTimeRange is registered as a scalar with its own encoding function.
The encoding function is called correctly for the first "timeframe" argument, but is never called for the second, for which none of the encodings are called, even though it is of the same type (even same object) as the first argument.
The first argument is thus correctly encoded into a json, the second instead appears as (empty) fields of the base class {_lower: {},\n_upper: {},\n_bounds: \"[)\",\n_empty: false}.
If only the first argument is given and the second skipped, it works.
If only the second argument is given and the first skipped, it works as well.
It does not differ, whether the values given to the two "timeframe" arguments are the same object of different ones.
We have a nested graphql query
where the datetimerange of type DateTimeRange is registered as a scalar with its own encoding function.
The encoding function is called correctly for the first "timeframe" argument, but is never called for the second, for which none of the encodings are called, even though it is of the same type (even same object) as the first argument.
The first argument is thus correctly encoded into a json, the second instead appears as (empty) fields of the base class
{_lower: {},\n_upper: {},\n_bounds: \"[)\",\n_empty: false}.If only the first argument is given and the second skipped, it works.
If only the second argument is given and the first skipped, it works as well.
It does not differ, whether the values given to the two "timeframe" arguments are the same object of different ones.