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.
-
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.
-
Features
AuthChecker
type is now "function or class" - update toAuthCheckerFn
if the function form is needed in the codegraphql-js
peer dependency to^16.6.0
buildSchemaSync
is now also checking the generated schema for errorsvalidate
option ofbuildSchema
is set tofalse
by default - integration withclass-validator
has to be turned on explicitlyvalidate
option ofbuildSchema
doesn't accept anymore a custom validation function - usevalidateFn
option instead@Authorized
decorator (Support readonly arrays for roles of Authorized decorator #935)buildTypeDefsAndResolvers
function (Update buildTypeDefsAndResolvers.ts #803)implements
option of@ObjectType
decorator (Use Date scalars fromgraphql-scalars
instead of custom ones #1435)Fixes
defaultValue
is provided and removeConflictingDefaultWithNullableError
error (Inconsistent behavior for defaultValue and nullable on input types #751)@Field({ name: "..." })
Others
class-validator
peer dependency to>=0.14.0
resolvers: string[]
build schema option)isAbstract
legacy decorator optionThis discussion was created from the release 2.0.0-beta.2.
Beta Was this translation helpful? Give feedback.
All reactions