Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider changing naming of getSurfaceDirectory and getPolygonsDirectory to use ...MetaList #487

Open
jorgenherje opened this issue Nov 30, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jorgenherje
Copy link
Collaborator

The router endpoints are returning list of respective Meta, i.e. SurfaceMeta and PolygonsMeta.

Change the naming of routers to match actual returned data type, and not use naming Directory.

The front-end code can use the the new useSurfaceDirectoryQuery -> useSurfaceMetaListQuery to create a surfaceDirectory object as already done. The same can be done for the equivalent new usePolygonsDirectoryQuery -> usePolygonsMetaListQuery.


See the same work done for get_seismic_directory -> get_seismic_cube_meta_list in #449

@jorgenherje jorgenherje added the enhancement New feature or request label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant