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

Use Struct in examples #538

Merged
merged 1 commit into from
Nov 24, 2024
Merged

Use Struct in examples #538

merged 1 commit into from
Nov 24, 2024

Conversation

tvararu
Copy link
Contributor

@tvararu tvararu commented Nov 24, 2024

view_component v3.20.0 has removed require "ostruct" from their codebase:

https://github.com/ViewComponent/view_component/releases/tag/v3.20.0

As such, users that want to use OpenStruct have to add the require call to their codebases.

Instead, we can use Struct, which works similarly and doesn't have to be required.

`view_component` v3.20.0 has removed `require "ostruct"` from their codebase:

https://github.com/ViewComponent/view_component/releases/tag/v3.20.0

As such, users that want to use `OpenStruct` have to add the `require`
call to their codebases.

Instead, we can use `Struct`, which works similarly and doesn't have to
be required.
Copy link

netlify bot commented Nov 24, 2024

👷 Deploy request for govuk-form-builder pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit f5b11ed

Copy link
Member

@peteryates peteryates left a comment

Choose a reason for hiding this comment

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

Looks great, thank you ♥️

@peteryates peteryates merged commit 4571f72 into x-govuk:main Nov 24, 2024
9 of 10 checks passed
@tvararu tvararu deleted the struct branch December 2, 2024 20:12
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