Skip to content

Don't build ref in resolve_nested_schema#700

Merged
lafrech merged 1 commit intodevfrom
marshmallow_no_ref
Jul 28, 2021
Merged

Don't build ref in resolve_nested_schema#700
lafrech merged 1 commit intodevfrom
marshmallow_no_ref

Conversation

@lafrech
Copy link
Copy Markdown
Member

@lafrech lafrech commented Jul 28, 2021

This is now done in APISpec core. No need to do this from MarshmallowPlugin.

The exception to this is in get_ref_dict. If we remove this here and return a string, we're in trouble in FieldConverterMixin.nested2properties because we need to return a dict, not a string, by design of the converter class. It is not that bad. At least, we're using the method from APISpec core.

This is done in APISpec core
@lafrech lafrech added this to the 5.0 milestone Jul 28, 2021
@lafrech lafrech merged commit 99e060e into dev Jul 28, 2021
@lafrech lafrech deleted the marshmallow_no_ref branch July 28, 2021 16:32
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