Skip to content

Boot order causing remote methods to not load #12

@dex-labs

Description

@dex-labs

testing a few different scenarios and am not able to get a remote method to load as a graphiql query or mutation if the function is added using a boot script.

Logged the process order and the graphql schema is being generated before the other boot scripts run so any method or change to a model after the initializing loopback-boot isn't taken up by getRemoteMethodQueries() or getRemoteMethodMutations().

Is there a way to define methods before the graphql connector initializes or delay the initialization?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions