We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug If document referencing goes further than one level, find won't resolve it properly
To Reproduce
class Organization(Document): slug: str class Domain(Document): organization: Link[Organization] integration: str class Attribute(Document): domain: Link[Domain] class AttributeMapping(Document): source: Link[Attribute] target: Link[Attribute] # won't work await AttributeMapping.find( AttributeMapping.source.domain.integration == domain.integration, AttributeMapping.source.domain.organization.slug == organization.slug, fetch_links=True, ).count() # won't work await AttributeMapping.find( AttributeMapping.source.domain.id == domain.id, fetch_links=True, # regardless ).count()
Expected behavior Linked documents are found
The text was updated successfully, but these errors were encountered:
Hi! I'll check what is going on there and will let you know here if this is possible to fix or not. Thank you
Sorry, something went wrong.
No branches or pull requests
Describe the bug
If document referencing goes further than one level, find won't resolve it properly
To Reproduce
Expected behavior
Linked documents are found
The text was updated successfully, but these errors were encountered: