diff --git a/package.json b/package.json index 0076bb1..2e0b95f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nestjs-graphql-zod", - "version": "3.3.0", + "version": "3.4.0", "description": "A library for integrating zod validation objects into nestjs graphql objects.", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/helpers/get-field-info-from-zod.ts b/src/helpers/get-field-info-from-zod.ts index 5e67ef6..dd5b1d4 100644 --- a/src/helpers/get-field-info-from-zod.ts +++ b/src/helpers/get-field-info-from-zod.ts @@ -307,6 +307,7 @@ export module getFieldInfoFromZod { ZodBoolean, ZodDefault, ZodEnum, + ZodNativeEnum, ZodNullable, ZodNumber, ZodObject,