Skip to content

Inline fragmentation support? #31

@pmpddylothar

Description

@pmpddylothar

I have a schema that has queries that require inline fragments. Is there something I'm missing that allows that to to render properly or potential modification I can do to the types to make it render properly? Right now I'm only getting the base entitlement section and none of the inline fragments.

This is an example snippet of the query with the inline fragments;

entitlement {
  sku
  plan
  status
  expirationDate
  startDate
  lastUpdated

  ... on QuantifiableEntitlement  {
    total
  }
  ... on DataEntitlement {
    dpaVersion
  }
  ... on PooledBandwidthEntitlement {
    siteEntitlementGroup
    siteEntitlementType
    allocatedBandwidth
    sites {
      site {
        id
        name
      }
      allocatedBandwidth
    }
  }
  ... on SiteEntitlement {
    siteEntitlementGroup
    regionality
    siteEntitlementType
    site {
      id
      name
    }
  }
  ... on ZtnaUsersEntitlement {
    ztnaUsersEntitlementGroup
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions