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
Do you think if it is intended and unrelated to #474?
Masked GraphQL error (hash: 'Spwi2IARCeGK-TlghR5Q0EvBBtw', id: 'YVAYUTKYG2') 61 | value: originalError.stack,
62 | writable: true,
63 | configurable: true,
64 | });
65 | } else if (Error.captureStackTrace != null) {
66 | Error.captureStackTrace(this, GraphQLError);
^
GraphQLError: Attempted to call PgResource(Country).get({code}) at child field (TODO: which one?) but that combination of attributes is not unique (uniques: [{"isPrimary":true,"attributes":["id"],"extensions":{"tags":{}}}]). Did you mean to call .find() instead?
path: "undefined"
at new GraphQLError (~timnghg/proj1/node_modules/grafast/node_modules/graphql/error/GraphQLError.js:66:6)
at Pe (~timnghg/proj1/node_modules/grafast/dist/index.js:238:739)
at ~timnghg/proj1/node_modules/grafast/dist/index.js:238:207
at compiledOutputPlan_object (:53:6)
at compiledOutputPlan_array (:59:45)
at compiledOutputPlan_object (:133:16)
at compiledOutputPlan_object (:44:54)
at ~timnghg/proj1/node_modules/grafast/dist/index.js:444:16405
at x (~timnghg/proj1/node_modules/grafast/dist/index.js:444:64365)
at A (~timnghg/proj1/node_modules/grafast/dist/index.js:444:71445)
The text was updated successfully, but these errors were encountered:
A unique index is different from a unique constraint (The latter contains a unique index automatically). Indexes are generally optimisations, whereas constraints are something you declare about your data, so we only use constraints when determining uniqueness.
Do you think if it is intended and unrelated to #474?
The text was updated successfully, but these errors were encountered: