yarn rw g types is very helpful and indicates errors, such as below.
Generating...
Not all operations have an unique name: UpdateMilestoneMutation
Not all operations have an unique name: UpdateMilestoneMutation
Error: Could not generate GraphQL type definitions (web)
The type generation is also called automatically via various other redwood operations. If not paying attention to the console, it's easy to miss errors.
Would it be possible to produce a failure exit code if there are errors? That we could run this command as part of CI checks to ensure that errors do not get overlooked.
yarn rw g typesis very helpful and indicates errors, such as below.The type generation is also called automatically via various other redwood operations. If not paying attention to the console, it's easy to miss errors.
Would it be possible to produce a failure exit code if there are errors? That we could run this command as part of CI checks to ensure that errors do not get overlooked.