egarim / egarim/BitFrameWorks

Pass the datastore to the XpoWebApiControllerBase inside the parameters class and not only in the headers

Open
#16 0 comments 0 reactions 1 assignee Claimed by @egarim View on GitHub
enhancement
Dominant language
C#
Stars
8
Forks
11
PR merge metrics
No merged PRs in 30d

Description

in the classes

BIT.Xpo.Providers.WebApi.AspNetCore.XpoWebApiControllerBase

BIT.Xpo.Providers.WebApi.AspNet.XpoWebApiControllerBase

I get the DataStoreId from the request headers which is ok to have a human-readable value, but the value for the data store should actually come in the additional values of the parameter class

To pass the datastore id in every call we need to pass it to the class FunctionDataStore in the constructor and then use it on each of the calls to the idatastore like select data, modify data, update schema Etc

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.