-
Notifications
You must be signed in to change notification settings - Fork 20
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
Cleanup validation for declared field formats #82
Labels
Comments
roskakori
added a commit
that referenced
this issue
Jul 13, 2015
Improved error message for broken field declarations in CIDs detected by the field format constructor, which now include the name of the field and the location in the CID.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Goal: parameters for
fields.AbstractFieldFormat.__init__()
are validated by there instead of mostly ininterface.Cid.add_field_format()
.The necessary changes are basically:
fields.AbstractFieldFormat.__init__()
; ifNone
, set it toerrors.create_caller_location()
.interface.Cid.add_field_format()
tofields.AbstractFieldFormat.__init__()
if item_count >= ...
queries.The text was updated successfully, but these errors were encountered: