-
-
Notifications
You must be signed in to change notification settings - Fork 816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle array field types used for alias field names #4961
Conversation
🦋 Changeset detectedLatest commit: 158669c The changes in this PR will be included in the next version bump. This PR includes changesets to release 29 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Benchmark Results
|
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@graphql-tools/batch-delegate |
8.4.15-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/batch-execute |
8.5.15-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/delegate |
9.0.22-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor |
0.0.12-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor-apollo-link |
0.0.6-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor-graphql-ws |
0.0.6-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor-http |
0.0.9-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor-legacy-ws |
0.0.6-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/executor-urql-exchange |
0.0.6-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/graphql-tag-pluck |
7.4.3-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
graphql-tools |
8.3.15-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/import |
6.7.15-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/links |
8.3.26-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/load |
7.8.9-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/apollo-engine-loader |
7.3.22-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/code-file-loader |
7.3.16-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/git-loader |
7.2.16-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/github-loader |
7.3.23-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/graphql-file-loader |
7.5.14-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/json-file-loader |
7.4.15-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/module-loader |
7.2.15-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/prisma-loader |
7.2.51-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/url-loader |
7.16.30-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/merge |
8.3.15-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/mock |
8.7.15-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/node-require |
6.4.17-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/relay-operation-optimizer |
6.5.15-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/resolvers-composition |
6.5.15-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/schema |
9.0.13-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/stitch |
8.7.35-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/stitching-directives |
2.3.25-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/utils |
9.1.4-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
@graphql-tools/wrap |
9.2.24-alpha-20230111164002-30864906 |
npm ↗︎ unpkg ↗︎ |
🚀 Website PreviewThe latest changes to the website are available as preview in: https://11531808.graphql-tools.pages.dev |
@@ -476,7 +476,7 @@ | |||
const fieldPathStr = fieldPath.join('.'); | |||
let fieldName = field.name; | |||
if (fieldTypeMap.has(fieldPathStr) && fieldTypeMap.get(fieldPathStr) !== field.type.toString()) { | |||
fieldName += (field.type as any).toString().replace('!', 'NonNull'); | |||
fieldName += (field.type as any).toString().replace('!', 'NonNull').replace('[', 'List').replace(']', ''); |
Check failure
Code scanning / CodeQL
Incomplete string escaping or encoding
@@ -476,7 +476,7 @@ | |||
const fieldPathStr = fieldPath.join('.'); | |||
let fieldName = field.name; | |||
if (fieldTypeMap.has(fieldPathStr) && fieldTypeMap.get(fieldPathStr) !== field.type.toString()) { | |||
fieldName += (field.type as any).toString().replace('!', 'NonNull'); | |||
fieldName += (field.type as any).toString().replace('!', 'NonNull').replace('[', 'List').replace(']', ''); |
Check failure
Code scanning / CodeQL
Incomplete string escaping or encoding
No description provided.