You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently some properties from the request.body takes data in form of object | string. Then are JSON.stringify to store in the data property of the db.tableName.
Source of problems and where to store:
additionalData in user.dto.ts on CreateUserDto and UpdateUserDto currently object | string. To store in User.data => {userData,additionalData}
data in user.dto.ts on CreateUserRegistrationDto and UpdateUserRegistrationDto currently string | JSON | object. To store in UserRegistration.data => {...data,...UserRegistrationData}
CreateTenantDto in tenant.dto.ts don't have any data field. Add it and provide it a proper interface. To store in Tenant.data => data
UpdateTenantDto in tenant.dto.ts have data as string | JSON. Give it same interface as above. To store in Tenant.data => data
metaData on CreateApiKeyDto in apiKey.dto.ts currently string | JSON. To store in AuthenticationKey.metaData => metaData.
data on RefreshToken to be made String?, no such use is though till now.
Currently correct and don't need attention:
Application don't take any data in request object, nor is it needed. As Application.data stores {oauthConfiguration,jwtConfiguration}
Keys don't take any data. Key.data is reserved to store jwks which was created while generating the keys. Before storing the jwks into data, all the private fields are deleted.
The text was updated successfully, but these errors were encountered:
Currently some properties from the
request.body
takes data in form ofobject | string
. Then areJSON.stringify
to store in thedata
property of thedb.tableName
.Source of problems and where to store:
additionalData
inuser.dto.ts
onCreateUserDto
andUpdateUserDto
currentlyobject | string
. To store inUser.data
=>{userData,additionalData}
data
inuser.dto.ts
onCreateUserRegistrationDto
andUpdateUserRegistrationDto
currentlystring | JSON | object
. To store inUserRegistration.data
=>{...data,...UserRegistrationData}
CreateTenantDto
intenant.dto.ts
don't have anydata
field. Add it and provide it a proper interface. To store inTenant.data
=>data
UpdateTenantDto
intenant.dto.ts
havedata
asstring | JSON
. Give it same interface as above. To store inTenant.data
=>data
metaData
onCreateApiKeyDto
inapiKey.dto.ts
currentlystring | JSON
. To store inAuthenticationKey.metaData
=>metaData
.data
onRefreshToken
to be madeString?
, no such use is though till now.Currently correct and don't need attention:
Application
don't take anydata
in request object, nor is it needed. AsApplication.data
stores{oauthConfiguration,jwtConfiguration}
Keys
don't take anydata
.Key.data
is reserved to storejwks
which was created while generating the keys. Before storing thejwks
intodata
, all the private fields are deleted.The text was updated successfully, but these errors were encountered: