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: change --apply to --write in biome check command #1616

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

yajihum
Copy link
Contributor

@yajihum yajihum commented Sep 7, 2024

Status

READY

Description

Setting biome: true and running the orval command results in an error asking to change --apply to --write.

DEPRECATED  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ! The argument --apply is deprecated, it will be removed in the next major release. Use --write instead.

Related PRs

List related PRs against other branches:

Todos

  • Tests
  • Documentation
  • Changelog Entry (unreleased)

Steps to Test or Reproduce

Outline the steps to test or reproduce the PR here.

  1. You define biome to true in orval.config.ts like a bellow, then execute orval and make sure biome executes together.
import { defineConfig } from 'orval';

export default defineConfig({
  petstoreFile: {
    input: {
      target: './petstore.yaml',
    },
    output: {
      client: 'swr',
      target: 'src/gen/endpoints',
      schemas: 'src/gen/model',
      biome: true,
    },
  },
});

@melloware melloware added this to the 7.1.1 milestone Sep 7, 2024
@melloware melloware merged commit f516975 into orval-labs:master Sep 7, 2024
2 checks passed
@melloware
Copy link
Collaborator

Thanks @yajihum !

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