BUG the app_subscriptions/marketplace_app_discounts objects missing from schema

app_subscriptions and marketplace_app_discounts are API objects that appear in the playground. But when we download the SDL, that schema does not include them. Its like the SDL is only generated for the customer account side of the API, not the full API that includes the developer side.

The distinction is just a permissions issue based on token - and maybe different development teams. Its the same API endpoint so the same API.

Either way, its a pain because autocompletions and validations based on the schema fail if we try to use them.

I am not making this a feature request because this is a BUG. Somebody forgot to include these resolvers in the public schema - the schema doesn’t match the API. That is a bug/error/flaw/omission. Its not a missing feature.

EDIT the introspection query does return the full correct schema though. It is just SDL/JSON formatted ones available for download that are wrong. Oddly you’d think they’d use tooling to generate those from introspection and then cache them…

1 Like