Skip to content

Example required for function with params #18

Description

@gamerrajan

Hi Team,

May be this is not the right place to put this question. In rest connector documentation gives function with parameter in datasource, but model implementation sample is not available for the same.
"functions": {
"geocode": ["street", "city", "zipcode"]
}

Since in magazine sample we are not using any method. I am not able to find implementation for the same. I am struck in my implementation. Could you help me with model sample for method with request param and how that will be added in our url as a query.

Thanks in advance,
Nagarajan. K

Bug or feature request

  • Bug
  • Feature request

Description of feature (or steps to reproduce if bug)

Link to sample repo to reproduce issue (if bug)

Expected result

Actual result (if bug)

Additional information (Node.js version, LoopBack version, etc)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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