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

Add TypedStructCtor to list of plugins #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

leggebroten
Copy link

@leggebroten leggebroten commented Dec 6, 2023

Add TypedStructCtor to the Plugin section

The TypedStructCtor plugin uses field-level attributes to define constructor functions (new and from) on the struct being defined by TypedStruct

Includes a Livebook demo of how it works

typed_struct_ctor
– Adds validating (new and from) constructor functions.

Try the macro out in real time without having to install or write any of your own code.
All you need is a running instance of Livebook

Run in Livebook

Add TypedStructCtor to the Plugin section

The TypedStructCtor plugin uses field-level attributes to define constructor functions (`new` and `from`) on the struct being defined by `TypedStruct`

Includes a Livebook demo of how it works
@ejpcmac ejpcmac added this to the typed_struct 0.3.1 milestone Dec 29, 2023
@ejpcmac ejpcmac added the T:Documentation Type: Documentation label Dec 29, 2023
@ejpcmac
Copy link
Owner

ejpcmac commented Dec 29, 2023

I’ll take a look at your plugins more in details next week, but it seems to be a wonderful idea :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T:Documentation Type: Documentation
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

2 participants