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

Updated stacky with new metadata manager #509

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

alexiswl
Copy link
Member

Waiting on #508

@alexiswl alexiswl self-assigned this Aug 20, 2024
"""
library = get_library_from_library_id(library_id)

return library.get("project_owner")
Copy link
Member

@williamputraintan williamputraintan Aug 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the casing end, I suppose this get will take value directly from the results JSON? (From #502) the metadata now has a middleware to translate snake_case to camelCase aligning with other microservices, so this might not get project_owner properly.

In terms of query params, the API may still support snake_case filters, but would recommend using the camelCase if you can as this is what the Swagger documents it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is the same for library_id/Id and subject_id/Id too?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the response will be in camelCase

@victorskl victorskl linked an issue Aug 21, 2024 that may be closed by this pull request
@victorskl
Copy link
Member

@alexiswl Perhaps, does this PR outdated by #525?

@alexiswl alexiswl merged commit 8b7628d into main Sep 2, 2024
5 checks passed
@alexiswl alexiswl deleted the update/refactor-stacky-with-new-metadata-manager branch September 2, 2024 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

metadata-manager: Id refactoring
3 participants