Improve Dry Struct docs - #321
Open
katafrakt wants to merge 3 commits into
Open
Conversation
Virtus is discontinued and Value is deprecated. We should not give them such prominent place on the index page.
katafrakt
commented
Apr 20, 2026
| --- | ||
|
|
||
| `dry-struct` is a gem built on top of `dry-types` which provides virtus-like DSL for defining typed struct classes. | ||
| Dry Struct is a gem built on top of [Dry Types](//org_guide/dry/dry-types) which provides a DSL for defining typed struct classes. It allows building immutable data structures with type safety and coersions, making sure that the data is in the shape you want it to be. |
Contributor
Author
There was a problem hiding this comment.
I generally think we could still have more "why?" here, but currently I'm not sure how.
katafrakt
commented
Apr 20, 2026
Contributor
Author
There was a problem hiding this comment.
I just saw @cllns's comment in dry-rb/dry-struct#203 about un-deprecating Value, so not sure how to go about this. Perhaps it would be good to make a decision in either way.
- Deprecated features page - Extensions page - Add information about optional nested structs
katafrakt
force-pushed
the
dry-struct-docs
branch
from
April 20, 2026 21:18
78f3830 to
fc33851
Compare
Contributor
|
❇️ Deploy preview: https://pr-321--hanakai.netlify.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This provides a bunch of improvements for Dry Struct docs
Valuehad IMO too prominent place in the index page, for a deprecated feature. I moved it into a new "deprecated features" page.