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

It would be nice if the repr for fields was a bit more detailed #20

Closed
drawks opened this issue Mar 5, 2014 · 3 comments
Closed

It would be nice if the repr for fields was a bit more detailed #20

drawks opened this issue Mar 5, 2014 · 3 comments

Comments

@drawks
Copy link

drawks commented Mar 5, 2014

When using inspection or even just manually inspecting _fields it would be nice if it was more obvious what validators and decorators might be in play. Particularly it would be nice to be able to see what fields are required and which are nullable. I think manipulating the repr property of Field objects as they are modified would be a relatively backwards compatible way of achieving this.

@jaimegildesagredo
Copy link
Owner

Hi @drawks!

It is an interesting improvement. I'll start working on it.

Only a question:

[...] what validators and decorators might be in play

What do you mean by decorators?

@drawks
Copy link
Author

drawks commented Mar 11, 2014

For instance you've implemented "nullable" as a decorator....

jaimegildesagredo added a commit that referenced this issue Mar 22, 2014
@jaimegildesagredo
Copy link
Owner

Fixed and released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants