Is ther a way to keep up to date the scalarSchemas option with my zodValidations in a shared package?
The only way that I can think of right now is copying & pasting my zodValidations and setting them in the scalarSchemas as a string but I think there has to be another way like generating the zod string reading the source code of another function (but at the same time that sounds like overengineering to me).
Did anyone face this challenge?
Is ther a way to keep up to date the
scalarSchemasoption with myzodValidationsin ashared package?The only way that I can think of right now is copying & pasting my zodValidations and setting them in the
scalarSchemasas a string but I think there has to be another way like generating the zod string reading the source code of another function (but at the same time that sounds like overengineering to me).Did anyone face this challenge?