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

Super call added to List field serialize method #93

Merged
merged 2 commits into from May 5, 2019

Conversation

rajeshkaushik
Copy link
Contributor

This help to support "required" enabled on List field.

This help to support "required" enabled on List field.
@ahopkins
Copy link
Member

ahopkins commented May 4, 2019

I'll let @huge-success/sanic-open-api make that call. Was just an observation. I'll be honest I do not look too closely at the code so was unfamiliar that this is a normal pattern in the code base.

@chenjr0719
Copy link
Member

Agree that call super().serialize() first would be more save. But, on the other hand, make the code base with the same style is also important.

I think we can make this PR go first and open another PR to handle the super() call in all fields.

@ahopkins ahopkins merged commit e8ce86f into sanic-org:master May 5, 2019
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.

None yet

4 participants