Skip to content

do not return related fields if the field is a list and empty#1441

Closed
fchennouf wants to merge 1 commit into
pyeve:masterfrom
studymapper:empty-related-field-list
Closed

do not return related fields if the field is a list and empty#1441
fchennouf wants to merge 1 commit into
pyeve:masterfrom
studymapper:empty-related-field-list

Conversation

@fchennouf
Copy link
Copy Markdown
Contributor

@fchennouf fchennouf commented Feb 18, 2021

if our resource have a relationship with empty data (many to many or one to many in eve-sqlalchemy ), the related field in _links is returned with an empty list, making test_getitem_data_relation_hateoas failing

nicolaiarocci added a commit that referenced this pull request Feb 20, 2021
@fchennouf fchennouf closed this Feb 21, 2021
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