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(fetch): remove unnecessary question mark in fetch query params #1524

Conversation

soartec-lab
Copy link
Member

Status

READY

Description

I extracted from #1504 what removes the unnecessary question mark in the "fetch" query parameter

Related PRs

#1504

Todos

  • Tests
  • Documentation
  • Changelog Entry (unreleased)

Steps to Test or Reproduce

I test in the next-app-with-fetch sample app.

import { listPets } from './gen/pets/pets';

export default async function Pets() {
  // input blank object
  const { data: pets, status } = await listPets({});

Before

request to http://localhost:3000/pets?

After

request to http://localhost:3000/pets

@soartec-lab soartec-lab marked this pull request as ready for review July 18, 2024 00:32
@melloware melloware merged commit db1f65f into orval-labs:master Jul 18, 2024
2 checks passed
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.

2 participants