Skip to content

converter is not a function | 5.0.0-pre.33 | $populate  #2923

@palmtown

Description

@palmtown

Steps to reproduce

(First please check that this issue is not already solved as described
here
- if it is a general question or suggestion please start a Discussion)

  • Tell us what broke. The more detailed the better.
  • If you can, please create a simple example that reproduces the issue and link to a gist, jsbin, repo, etc. This makes it much easier for us to debug and issues that have a reproducable example will get higher priority.

When setting $populate as a filter as described at #2607 and https://dove.feathersjs.com/guides/migrating.html by setting {$populate: true}, feathers throws an error "converter is not a function." I traced the error to file node_modules/@feathersjs/adapter-commons/lib/filter-query.js, line 69. Only when I remove this from the filter, feathers works, however, prevents the usage of $populate.

Expected behavior

$populate should be an allowed filter and populates the requested data.

Actual behavior

Got error "converter is not a function"

System configuration

Tell us about the applicable parts of your setup.

Module versions (especially the part that's not working): 5.0.0-pre.33

NodeJS version:

Operating System: Ubuntu

Browser Version:

React Native Version:

Module Loader:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions