Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.

Added possibility to use custom schema generator #699

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mlubimow
Copy link

@mlubimow mlubimow commented Sep 7, 2017

It would be handy if it would be possible to use custom schema generator without need to define a view seperately

if schema_generator_cls is None:
generator_cls = SchemaGenerator
else:
generator_cls = schema_generator_cls
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not to make SchemaGenerator default parameter value instead of this condition?

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

Successfully merging this pull request may close these issues.

2 participants