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

Proper Struct syntax #6

Merged
merged 1 commit into from
Nov 20, 2023
Merged

Proper Struct syntax #6

merged 1 commit into from
Nov 20, 2023

Conversation

bdewater
Copy link
Contributor

Struct.new already subclasses, the other syntax creates an anonymous subclcass in the ancestor chain and makes Tapioca overlook the setters/getters defined in the arguments when generating signatures (Shopify/tapioca#1384)

@skatkov
Copy link
Contributor

skatkov commented Nov 20, 2023

Thanks for addition. Can you add a CHANGELOG entry as well, please?

@bdewater
Copy link
Contributor Author

@skatkov done :)

Struct.new already subclasses, the other syntax creates an anonymous subclcass in the ancestor chain and makes Tapioca overlook the setters/getters defined in the arguments when generating signatures
@skatkov
Copy link
Contributor

skatkov commented Nov 20, 2023

Great. Merging.

@skatkov skatkov merged commit 1c2cd7a into cheddar-me:main Nov 20, 2023
@bdewater bdewater deleted the fix-structs branch November 21, 2023 02:22
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