GetOneHandler
GetOneHandler<
T> = (id,oDataConfig?,throwIfNotFound?) =>Promise<T|null>
Crud handler for Get one operation
Type Parameters
T
resource type
Parameters
id
string
required id parameter of the resource to get instance of
oDataConfig?
optional ODataConfig that you can read to modify your return
throwIfNotFound?
boolean
Returns
Promise<T | null>
an instance of T or null