Skip to content

WIP feat: Add basic reflection #54

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

Closed
wants to merge 2 commits into from
Closed

Conversation

epage
Copy link
Contributor

@epage epage commented Jul 6, 2018

Predicates can now report parameter details that don't show up in
Display as well as what children they have. The expectation is that
this will be used by the solution for #7.

BREAKING CHANGE: Predicates must also implement
reflection::PredicateReflection.

@epage epage force-pushed the reflect branch 2 times, most recently from 3cf8a3a to 12513b5 Compare July 11, 2018 23:16
Predicates can now report parameter details that don't show up in
`Display` as well as what children they have.  The expectation is that
this will be used by the solution for assert-rs#7.

BREAKING CHANGE: `Predicate`s must also implement
`reflection::PredicateReflection`.
This also saw an audit of predicates to ensure their `Display` would
most likely remain as one line of text.  Anything in a `Display` that
seemed likely to overflow was moved to a `Parameter`.
@epage
Copy link
Contributor Author

epage commented Jul 21, 2018

Superseded by #60

@epage epage closed this Jul 28, 2018
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.

1 participant