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

dx: disable select all feature when serialization raises error #3209

Merged

Conversation

Paul-Bob
Copy link
Contributor

@Paul-Bob Paul-Bob commented Sep 3, 2024

Description

Fixes #3196

Disable "Select All" when serializing the query raises any error.

In development a warning message is displayed. The warning includes a link to documentation that explains how the "Select All" feature works and provides some guidance on known issues.

Checklist:

Screenshots & recording

image

@Paul-Bob Paul-Bob self-assigned this Sep 3, 2024
@Paul-Bob Paul-Bob added the Fix label Sep 3, 2024
Copy link

codeclimate bot commented Sep 3, 2024

Code Climate has analyzed commit 391d2f4 and detected 0 issues on this pull request.

View more on Code Climate.

@Paul-Bob Paul-Bob changed the title fix: disable select all feature when serialization raises error dx: disable select all feature when serialization raises error Sep 3, 2024
rescue
if Rails.env.development?
Avo.error_manager.add({
url: "https://docs.avohq.io/3.0/select-all.html#serialization-known-issues",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@adrianthedev adrianthedev merged commit c060eb3 into main Sep 3, 2024
22 checks passed
@adrianthedev adrianthedev deleted the fix/disable_select_all_when_serialization_raises_error branch September 3, 2024 10:09
Copy link
Contributor

github-actions bot commented Sep 3, 2024

This PR has been merged into main. The functionality will be available in the next release.

Please check the release guide for more information.

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

Successfully merging this pull request may close these issues.

Viewing a resource results in TypeError: no _dump_data is defined for class Proc
2 participants