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

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

Closed
wants to merge 1 commit into from

Conversation

fchennouf
Copy link
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