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

Hydra: Skip resource property without GET collection operation instead of throwing #134

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

Merged

Conversation

@J3m5
Copy link
Contributor

@J3m5 J3m5 commented Mar 15, 2024
edited
Loading

This PR modifies the fetchEntrypointAndDocs function to prevent it from throwing an error when a property lacks a GET collection operation. Instead, it now logs an error to the console, allowing developers to address unintended absences of GET collection operations.

Additionally, this PR resolves several issues with the eslint/tsconfig configs and remove the yarn.lock file from .gitignore (lock files should be commited).

dunglas reacted with thumbs up emoji
@soyuka soyuka merged commit 8652f9b into api-platform:main Mar 18, 2024
@J3m5 J3m5 deleted the skip-resource-without-get-collection-operation branch March 18, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /