Skip to content
Discussion options

You must be logged in to vote

If you want to merge those schemas;

schema: 
  - ONE_SCHEMA_POINTER
  - TWO_SCHEMA_POINTER
generates:
   some-file.ts: # This file would contain results of merged schema
      plugins:
         - typescript  

Or if you want to generate different types for each so they will be handled seperately

generates:
   first-schema.ts:
      schema: ONE_SCHEMA_POINTER
      plugins:
         - typescript  
   first-schema.ts:
      schema: TWO_SCHEMA_POINTER
      plugins:
         - typescript  

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@guibirow
Comment options

@hymair
Comment options

@ardatan
Comment options

ardatan Nov 13, 2021
Collaborator

Answer selected by guibirow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants