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

Automatic fields on insert #43

Closed
kpcyrd opened this issue Dec 3, 2018 · 0 comments
Closed

Automatic fields on insert #43

kpcyrd opened this issue Dec 3, 2018 · 0 comments
Milestone

Comments

@kpcyrd
Copy link
Owner

kpcyrd commented Dec 3, 2018

Right now we deserialize directly into NewOwnedUrl (for example). We should change this to something else which is an alias to NewOwnedUrl or a new type that implements Into<NewOwnedUrl> (or something similar to return a result).

This allows us to have some fields automatically set by other fields. For example we could have a path field that's automatically in sync with value, or we could fill the family field in ipaddrs automatically.

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

No branches or pull requests

1 participant