Skip to content
Snippets Groups Projects
.meshrc.yml 2.28 KiB
Newer Older
  • Learn to ignore specific revisions
  • sources:
      - name: okuna
        handler:
          graphql:
    
              Accept-Language: "{context.headers['accept-language']}"
    
              X-Holi-User-ID: "{context.headers['x-holi-user-id']}"
              X-Holi-User-Email: "{context.headers['x-holi-user-email']}"
    
      - name: app-donations
        handler:
          graphql:
    
            endpoint: '{env.DONATIONS_API_URL}'
    
            operationHeaders:
              Accept-Language: "{context.headers['accept-language']}"
    
          # Prefix for types
    
          - prefix:
              mode: wrap
              value: AppDonations_
    
              includeRootOperations: false
              includeTypes: true
          # Prefix for operations
    
              value: appDonations_
    
              includeRootOperations: true
              includeTypes: false
    
      - name: app-goodnews
        handler:
          graphql:
    
            endpoint: '{env.GOODNEWS_API_URL}'
    
            operationHeaders:
              Accept-Language: "{context.headers['accept-language']}"
    
        transforms:
          # Prefix for types
          - prefix:
              mode: wrap
              value: AppGoodNews_
              includeRootOperations: false
              includeTypes: true
          # Prefix for operations
          - prefix:
              mode: wrap
              value: appGoodNews_
              includeRootOperations: true
              includeTypes: false
    
      - name: app-volunteering
        handler:
    
          graphql:
            endpoint: '{env.VOLUNTEERING_API_URL}'
    
            operationHeaders:
    
              Accept-Language: "{context.headers['accept-language']}"
    
        transforms:
          # Prefix for types
          - prefix:
              mode: wrap
              value: AppVolunteering_
              includeRootOperations: false
              includeTypes: true
          # Prefix for operations
          - prefix:
              mode: wrap
              value: appVolunteering_
              includeRootOperations: true
              includeTypes: false
    
    Daniel Bimschas's avatar
    Daniel Bimschas committed
      - name: geo
        handler:
          graphql:
    
    Daniel Bimschas's avatar
    Daniel Bimschas committed
        transforms:
          # Prefix for types
          - prefix:
              mode: wrap
              value: Geo_
              includeRootOperations: false
              includeTypes: true
          # Prefix for operations
          - prefix:
              mode: wrap
              value: geo_
              includeRootOperations: true
              includeTypes: false