Explanation
Imagine an alias is set for a Link field (which it's value will be DBRef), when a find filter is used on the id of that DBRef to get a record, it does not work. However, if the field name in Document class is directly set to the previous class alias, it works perfectly.
Documents Example
class LinkDoc(Document):
foo: str = 'foo'
class Doc(Document):
field: Link[LinkDoc] = Field(alias='alias')
class DirectDoc(Document):
alias: Link[LinkDoc]
Explanation Imagine an alias is set for a Link field (which it's value will be DBRef), when a find filter is used on the id of that DBRef to get a record, it does not work. However, if the field name in Document class is directly set to the previous class alias, it works perfectly.
Documents Example
Example Record in DB
Occurred Behavior