graphql-mesh icon indicating copy to clipboard operation
graphql-mesh copied to clipboard

[WIP] Added a PlanetScale handler

Open arguiot opened this issue 1 year ago • 3 comments

Description

This Pull Request aims to add a new database connector for PlanetScale Serverless. The new connector has been heavily influenced by the existing MySQL connector, however, it has been tailored to support @planetscale/database specifically, which works using fetch.

This new addition to graphql-mesh will allow users to easily connect to their PlanetScale databases and query their data through GraphQL at the Edge.

As this is my first contribution to the graphql-mesh project, I would greatly appreciate any help and guidance in connecting the new connector to the rest of the system, as well as testing it for any potential issues. Your support in this matter would be greatly appreciated.

Type of change

Please delete options that are not relevant.

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [x] This change requires a documentation update

How Has This Been Tested?

Hasn't been tested, waiting for help to make the system work.

Checklist:

  • [x] I have followed the CONTRIBUTING doc and the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] New and existing unit tests and linter rules pass locally with my changes
  • [ ] Any dependent changes have been merged and published in downstream modules

arguiot avatar Feb 01 '23 20:02 arguiot

⚠️ No Changeset found

Latest commit: e706215e527eb90c517a5d63e9ec7febc490dc8a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

changeset-bot[bot] avatar Feb 01 '23 20:02 changeset-bot[bot]

Hi @arguiot ! Is there anything we can do to help you in order to move this forward?

ardatan avatar Apr 04 '23 10:04 ardatan

Hi @ardatan I would just need help to connect the PlanetScale connector to the rest of the system basically... I didn't have the time to properly look at the rest of the code, but it's probably not super hard actually...

arguiot avatar Apr 04 '23 11:04 arguiot