@pothos/plugin-relay
Advanced tools
Comparing version 3.31.0 to 3.32.0
# Change Log | ||
## 3.32.0 | ||
### Minor Changes | ||
- 75d13217: Export utils for formatting prisma cursors | ||
## 3.31.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@pothos/plugin-relay", | ||
"version": "3.31.0", | ||
"version": "3.32.0", | ||
"description": "A Pothos plugin for adding relay style connections, nodes, and cursor based pagination to your GraphQL schema", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -570,8 +570,8 @@ # Relay Plugin | ||
if (id.typename === 'User') { | ||
return customUserLoader(id) | ||
return customUserLoader(id); | ||
} | ||
// fallback to normal loading for everything else | ||
return resolveNode(id) | ||
} | ||
return resolveNode(id); | ||
}, | ||
}, | ||
@@ -582,3 +582,3 @@ nodesQueryOptions: { | ||
if (id.typename === 'User') { | ||
return customNodeLoader(id) | ||
return customNodeLoader(id); | ||
} | ||
@@ -589,5 +589,5 @@ | ||
// we are resolving nodes one at a time here for simplicity | ||
return resolveNodes([id]) | ||
}) | ||
} | ||
return resolveNodes([id]); | ||
}); | ||
}, | ||
}, | ||
@@ -594,0 +594,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
373630