Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: use anyOf instead of nullable type array#325

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SamMorrowDrums merged 1 commit intomainfromfix-pr-review
Apr 21, 2025

Conversation

toby
Copy link
Member

Windsurf is erroring on thecreate_pull_request tool because we're using an array of types to make fields nullable. This PR usesanyOf instead and should fix the issue.

Closes:#318

Windsurf is erroring on the `create_pull_request` tool because we'reusing an array of types to make fields nullable. This PR uses `anyOf`instead and should fix the issue.
@CopilotCopilotAI review requested due to automatic review settingsApril 21, 2025 19:15
@tobytoby requested a review froma team as acode ownerApril 21, 2025 19:15
Copy link
Contributor

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull Request Overview

This PR addresses an error with the pull request creation tool by updating the JSON schema definitions for nullable types to use the "anyOf" pattern instead of an array of types.

  • Changes include modifying the fields "position", "line", "side", "start_line", and "start_side" to use the new "anyOf" syntax.
  • The update aims to resolve errors with Windsurf related to handling nullable types.

@SamMorrowDrumsSamMorrowDrums merged commit9fa582d intomainApr 21, 2025
16 checks passed
@SamMorrowDrumsSamMorrowDrums deleted the fix-pr-review branchApril 21, 2025 19:19
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@SamMorrowDrumsSamMorrowDrumsSamMorrowDrums approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Can't install into latest Windsurf
2 participants
@toby@SamMorrowDrums

[8]ページ先頭

©2009-2025 Movatter.jp