Skip to content

type: 'any' in a remote method can coerce mongodb object ids into floats #299

Description

@vkarpov15

If you have a remote method with a parameter that's type: 'any', coerce can convert a mongodb object id into a float because mongodb object id hex strings can happen to be all numbers. Easily fixed on my end (use type: 'string') but this is an annoying rough edge in the API IMO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions