thefrontside / playhouse

Frontside's Backstage Portal
https://backstage.frontside.services/
25 stars 13 forks source link

Added default exports to graphql modules #388

Closed taras closed 9 months ago

taras commented 9 months ago

Motivation

To play nicely with Backstage's Backend Extension system, modules have to export as default. This will allow them to be imported using import syntax and eventually dynamically.

Approach

Added default exports for GraphQL modules. A package can only have one export, so we'd need to create another entry point if we want to allow the registering relations module.

changeset-bot[bot] commented 9 months ago

🦋 Changeset detected

Latest commit: 1e09425032b3717c27131774bbc78933dd68c107

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ---------------------------------------------------------- | ----- | | @frontside/backstage-plugin-graphql-backend-module-catalog | Patch | | @frontside/backstage-plugin-graphql-backend | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

frontsidejack commented 9 months ago

📣 NOTIFICATION You are receiving this message because we did not publish any packages.

Generated by @thefrontside/actions Frontside