We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f7b185 commit 1bbb262Copy full SHA for 1bbb262
src/analysis/buildTypeWeights.ts
@@ -162,6 +162,9 @@ function parseObjectFields(
162
result.fields[field] = {
163
resolveTo: fieldType.name.toLocaleLowerCase(),
164
};
165
+ } else if (isNonNullType(fieldType)) {
166
+ // TODO: Implment non-null types
167
+ // not throwing and error since it causes typeWeight tests to break
168
} else {
169
// ? what else can get through here
170
throw new Error(`ERROR: buildTypeWeight: Unsupported field type: ${fieldType}`);
0 commit comments