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
Please install the latest @envelop/* packages that you are using.
Please make sure the reproduction is as small as possible.
2. A failing test has been provided
3. A local solution has been provided
4. A pull request is pending review
Describe the bug
Hi, I am an user of Yoga GraphQL Server, not directly @envelop/response-cache
Probably and issue from @graphql-yoga/plugin-response-cache" which uses @envelop/response-cache:6.2.1.
Yesterday, there was 2 updates 6.2.2, then 6.2.3.
To Reproduce Steps to reproduce the behavior:
In 6.2.1, I was able to use Yoga, in stitching mode, it returns response correctly (array of strings like this) :
Thanks for the quick release of 6.2.4, fixing this issue.
We were affected by this bug in production. We allowed patch version updates. I would not have expected the causing commit to be released as a patch version, since it is not a backwards compatible bugfix, but IMO a major refactoring. Could you try to implement semantic versioning for future releases?
Thanks for bringing this up and for the quick release of 6.2.4.
Fortunately, this bug only took down our DEV environment, but it appeared that 6.2.3 is incorrectly parsing DateTime fields in our GraphQL responses (using https://the-guild.dev/graphql/scalars/docs/scalars/date-time) as empty Objects instead of ISO Strings.
Rolling back to 6.2.1 fixed the issue; unfortunately, this issue still persists in 6.2.4.
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
minimal reproduction available on
Stackblitz.
@envelop/*
packages that you are using.Describe the bug
Hi, I am an user of Yoga GraphQL Server, not directly @envelop/response-cache
Probably and issue from @graphql-yoga/plugin-response-cache" which uses @envelop/response-cache:6.2.1.
Yesterday, there was 2 updates 6.2.2, then 6.2.3.
To Reproduce Steps to reproduce the behavior:
In 6.2.1, I was able to use Yoga, in stitching mode, it returns response correctly (array of strings like this) :
But since the upgrade to 6.2.3, it give me this response :
So it replace array of string into array of objects of splitted strings...
Expected behavior
When a field is declared as acCode: [string], the cache should not alter the type of the response (or cache?).
Environment:
@envelop/response-cache
versions: 6.2.3@envelop/core
: version 5.0.2Additional context
Roll-backing to @envelop/response-cache like this into my package.json to 6.2.1 solve the issue :
Thanks for your help,
Regards,
Vitho.
The text was updated successfully, but these errors were encountered: