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
Objects are copied, including their symbol-keyed properties.
Environment:
OS:
@graphql-tools/...:
NodeJS:
Additional context
I don't understand why these properties are skipped. In fact, there is a test to ensure that they are skipped. It was added at 6877b91. Would it be possible to not skip these properties?
Background: We use symbols for annotating and resolving abstract types.
The text was updated successfully, but these errors were encountered:
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
Describe the bug
mock strips property symbols.
To Reproduce Steps to reproduce the behavior:
At https://github.com/ardatan/graphql-tools/blob/master/packages/mock/src/utils.ts#L34, the code does not iterate over getOwnPropertySymbols.
Expected behavior
Objects are copied, including their symbol-keyed properties.
Environment:
@graphql-tools/...
:Additional context
I don't understand why these properties are skipped. In fact, there is a test to ensure that they are skipped. It was added at 6877b91. Would it be possible to not skip these properties?
Background: We use symbols for annotating and resolving abstract types.
The text was updated successfully, but these errors were encountered: