Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Ensure all code paths return a DrupalJsonApiParams instance in getParams function #791

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

recky-a
Copy link

@recky-a recky-a commented Jul 20, 2024

This pull request is for: (mark with an "x")

  • examples/*
  • modules/next
  • packages/next-drupal
  • starters/basic-starter
  • starters/graphql-starter
  • starters/pages-starter
  • Other

Desription

  • Updated getParams function to ensure every code path returns a DrupalJsonApiParams instance.
  • Added default return value to handle unknown name cases.

…etParams function

- Updated `getParams` function to ensure every code path returns a `DrupalJsonApiParams` instance.
- Added default return value to handle unknown `name` cases.
Copy link

vercel bot commented Jul 20, 2024

@Anrecky is attempting to deploy a commit to the Chapter Three Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant