Skip to content

enhancement: access record on array block #3787

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
merged 2 commits into from
Apr 12, 2025

Conversation

Paul-Bob
Copy link
Contributor

Description

Fixes #3786

Adding access to record on the array field block:

    field :attendees, as: :array do
      record.some_attendees
    end

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

@Paul-Bob Paul-Bob added the Enhancement Not necessarily a feature, but something has improved label Apr 10, 2025
@Paul-Bob Paul-Bob self-assigned this Apr 10, 2025
@Paul-Bob Paul-Bob changed the title enhancement: access_record_on_array_block enhancement: access `record_on_array_block Apr 10, 2025
@Paul-Bob Paul-Bob changed the title enhancement: access `record_on_array_block enhancement: access record on array block Apr 10, 2025
Copy link

qlty-cloud-legacy bot commented Apr 10, 2025

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

View more on Code Climate.

@Paul-Bob Paul-Bob merged commit f228f54 into main Apr 12, 2025
20 checks passed
@Paul-Bob Paul-Bob deleted the enhancement/access_record_on_array_block branch April 12, 2025 05:42
Copy link
Contributor

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
Labels
Enhancement Not necessarily a feature, but something has improved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Array field as block can not access record / resource
1 participant