Context
In packages/modules/services/src/bookmarks/endpoints/user-bookmarks.get.ts, the OData filter-schema transformer carries a note that it belongs in a shared location:
/**
* Schema transformer of the filter object to an OData filter string.
*
* @todo This function should be moved to a shared utility module.
*/
Task
- Identify (or create) an appropriate shared utility module for OData filter-schema transformers within
@equinor/fusion-framework-module-services (or a more general utils package if it's reusable beyond bookmarks).
- Move the transformer there and update the import in
user-bookmarks.get.ts.
- Check for other endpoints with similar inline transformers that could reuse the shared utility.
File
packages/modules/services/src/bookmarks/endpoints/user-bookmarks.get.ts (line ~22)
Context
In
packages/modules/services/src/bookmarks/endpoints/user-bookmarks.get.ts, the OData filter-schema transformer carries a note that it belongs in a shared location:Task
@equinor/fusion-framework-module-services(or a more general utils package if it's reusable beyond bookmarks).user-bookmarks.get.ts.File
packages/modules/services/src/bookmarks/endpoints/user-bookmarks.get.ts(line ~22)