Skip to content

Make DB add/remove more flexible #199

@brianru

Description

@brianru

The following code restricts the accepted query params to graph-uri. That is the only supported param, at the moment. But the inflexibility means each new param requires a stardog.js change. Here is a Stardog issue for a new param: https://github.com/stardog-union/stardog/issues/7816

const queryParams = {};
if (params.graphUri) {
queryParams['graph-uri'] = params.graphUri;
}

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