-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update tests to use new APIs #5730
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/keystonejs/keystone-next-docs/7LQwpZjVrtGzA9q9gh7Kgk281Pqm |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 61af0a3:
|
* Remove legacy tests (#5669) * Update @ts-gql/schema with a fix with for the inferred type of enums and use orderBy resolvers * Unique tests (#5671) * Add tests for uniqueness * Update packages-next/fields/src/types/timestamp/index.ts Co-authored-by: Mitchell Hamilton <mitchell@hamil.town> * Fix fetching items through a relationship field * Add defaultValue to variables in executeGraphQLFieldToRootVal * Fix a type error * Fix updateOne * Use order by (#5678) * Use orderBy instead of sortBy * Use enum correctly * Progress on filter things * WIP on filters * filters! * Password filter * First pass at filter test updates for new fields (#5696) * Update filter tests for passwords (#5698) * Fix auth * Fix .count(), update tests (#5699) * Remove itemQueryName * Make the list function type errors go away * Fix nested mutations (#5700) * Decimal filters and scalar * Fix type errors in document field * Fix fetching one-sided relationships * Fix orderBy * manypkg fix * Relationship tests for next fields (#5701) * Fix one sided many-to-many queries * Update more relationship tests * Implement decimal field * Cloudinary field * Update more tests to new APIs (#5703) * Change meta query to count * Fix displayMode: 'count' * More graphql api changes * Fix some more things * Add endSession with @ts-gql/schema * Require that idFields are non null ids * Update tests, fix minor bugs (#5714) * Try fixing CodeSandbox CI * Filter to-one relationship by null * Fix find one with filter access control * Get more tests working (#5721) * Fix commands * Move prisma utils * Update todo example from default branch * Fix an error * Update tests to use new APIs (#5730) * Disconnect fixes (#5731) * Fix use of disconnect * Fix disconnect usage * And some more fixes * Fix more tests (#5732) * More test updates for new APIs (#5733) * Fix tests * WIP * Update more tests for new APIs (#5748) * Make orderBy essentially an input union * manypkg fix * sortBy -> orderBy tests * Add orderBy test * Update example schemas (#5762) * Delete a bunch of old stuff to get rid of a bunch of type errors * image and file field using interfaces * Make things nullable * Coerce and validate filters from access control * Remove unused import * Change default idField to uuid to test nested mutation behaviour with uuids * Refactor the return type of createSystem * Update orderBy things * Start of legacy filters stuff * WIP of legacy filters * more progress on legacy filters * more progress on legacy filters * Fix things * Relationship filtering * words * start of defaultValue and isRequired * fix a thing * Implement legacy defaultValue and isRequired * Reset tests from default branch * Change back to isIndexed and isUnique * Reset server-side-graphql-client * Change ordering of fields in generated prisma schema * Simplify schema construction * Revert "Simplify schema construction" This reverts commit 3c5eb59. * more things * more alignment on graphql schema * More alignment * Update generated schemas * more alignment * orderBy and search * More progress * Fix a bunch of stuff * more progress * WIP * Fix resolveInput * Remove skipped thing * Fix access control * Fix some more things * Update virtual field tests * progress * a hacky fix * progress on cache hints * error ordering things * a bunch of progress on relationships * Fix some more things * Fix some more things * Fix some things * Fix some things * Fix a thing * fix a thing * WIP * FIx some more things * Revert access control API changes * Move some utils * wip * WIP * refactoring * Fix things * autoIncrement as non-id field * actually do autoIncrement as non-id field * Fix autoIncrement * Fix a thing * Fix another autoIncrement thing * i think this is it * Fix some things * Reset admin ui things * Fix things * Fix another thing * Fix things * Update schemas * ordering things * Fix some dep things * Fix cache hints * Cleanup * Update @ts-gql/schema * Remove another unused dep * Reset docs * Fix some things * Experiment with schema reordering for an easier diff * More reordering * More changes for the diff * more changes for the diff * WIP * More changes to reduce the diff size * More schema diff fixes * More schema alignment * Another diff fix * Update snapshots * Remove a bunch of dead code * explain a thing * New @ts-gql/schema stuff * Fix cloudinary descriptions * Fix some uniqueWhere stuff * Fix a thing * Fix the condition * Align error things * Fix auth things * Fix another usage * Remove some unused stuff * Start of cleanup * Some refactoring * More refactoring * More refactoring * More refactoring * Prisma schema conflicting enum error fix * More prisma schema error fixes * More cleanup * More refactoring * More refactoring * Add @ts-gql/schema dep back * Fix some things * Redorder a thing * More reordering * Fix some things * Remove misleading comments (the mentioned problem won't happen) * More reordering * Remove a non-null assertion * Fix a thing * Fix things * Remove more dead code * More reordering * More refactoring * More refactoring * More cleanup * More cleanup * More cleanup * More cleanup * More cleanup * Fix more things * Start of changesets * Revert "More cleanup" This reverts commit 1a38262. * Remove a thing * Fix more docs * words * Remove a thing that we shouldn't do * Add another changeset * changeset * changeset * Enable cloudinary field tests for a sec * More things * the long name is good * changeset * some more things * changeset * Add cloudinaryImage filters back because why not * Fix more things * Stop exporting some things * Use an if * Fix a comment * Fix a thing * things * Remove an unused thing * Remove an unnecessary thing * Remove commented out lines * Reset changes to a thing * Remove more dead code * More dead code * Remove usages of interfaces file * Fix a thing * Fix things * words * Use the right secret field impls * Allow virtual fields that reference other list types * Use @graphql-ts/schema * Rename `types` to `schema` * Fix afterChange not being called for nested creates * Explicitly export * Update .changeset/mean-chairs-destroy.md Co-authored-by: Tim Leslie <timl@thinkmill.com.au> * Remove added support for plural, label, singular and path options for now * Update docs * Remove commented out plugins thing * Fix docs for GraphQL plural and add a changeset for it Co-authored-by: Tim Leslie <timl@thinkmill.com.au>
No description provided.