api-guidelines icon indicating copy to clipboard operation
api-guidelines copied to clipboard

Handling canonical dictionaries in resources

Open nirzamir opened this issue 7 years ago • 0 comments

If an object contains inherent dictionaries (that usually contain custom keys) in its properties, like: { id: '1234' customInfo: { customProperty1: value1, customProperty2: value2} }

How is it expected to perform filtering and sorting on collections of such objects?

For example: <pathToServiceUrl>/collectionName?orderBy=customInfo.customProperty1

Or <pathToServiceUrl>/collectionName?filter=customInfo.customProperty1 eq value1

Is this acceptable?

Thank you!

nirzamir avatar Apr 17 '18 07:04 nirzamir