Skip to content

Impossible to filter a binary PK by its string value #959

@MRigal

Description

@MRigal

Hi all,

As showed in the skipped test test_binary_field_primary_filter_by_binary_pk_as_str from the branch #946 it is currently possible to create a object by the bytes string representation of a binary object, but not to query it afterwards.

For consistency and practically, it should be fixed, furthermore knowing there are different bson.Binary object types

Best,
Matthieu

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions