2.0.0-beta.2 #1455
Replies: 6 comments 5 replies
-
|
Please report here all the issues encountered using this beta release 😉 |
Beta Was this translation helpful? Give feedback.
-
|
Awesome Michal |
Beta Was this translation helpful? Give feedback.
-
|
Is there any documentation around the removal of https://prisma.typegraphql.com/docs/basics/usage/ |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
2.0.0-beta.2 has been working solid in production for https://github.com/bnussman/beep! 🎉 |
Beta Was this translation helpful? Give feedback.
-
|
we are still find isAbstract useful when you want to multiple decorators on a single field, for example //-- in one file class Collection { //-- in other files @ObjectType() |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Features
AuthCheckertype is now "function or class" - update toAuthCheckerFnif the function form is needed in the codegraphql-jspeer dependency to^16.6.0buildSchemaSyncis now also checking the generated schema for errorsvalidateoption ofbuildSchemais set tofalseby default - integration withclass-validatorhas to be turned on explicitlyvalidateoption ofbuildSchemadoesn't accept anymore a custom validation function - usevalidateFnoption instead@Authorizeddecorator (Support readonly arrays for roles of Authorized decorator #935)buildTypeDefsAndResolversfunction (Update buildTypeDefsAndResolvers.ts #803)implementsoption of@ObjectTypedecorator (Use Date scalars fromgraphql-scalarsinstead of custom ones #1435)Fixes
defaultValueis provided and removeConflictingDefaultWithNullableErrorerror (Inconsistent behavior for defaultValue and nullable on input types #751)@Field({ name: "..." })Others
class-validatorpeer dependency to>=0.14.0resolvers: string[]build schema option)isAbstractlegacy decorator optionThis discussion was created from the release 2.0.0-beta.2.
Beta Was this translation helpful? Give feedback.
All reactions