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

Minimize camel case headaches #175

Open
jsstevenson opened this issue Aug 6, 2024 · 1 comment
Open

Minimize camel case headaches #175

jsstevenson opened this issue Aug 6, 2024 · 1 comment
Labels
enhancement New feature or request priority:low Low priority stale

Comments

@jsstevenson
Copy link
Member

Feature description

We should figure out ways to minimize headaches regarding translation between snake case (python norm) and camel case (GKS naming standards)

Use case

Fusion-Curation uses a TS-ified version of the FUSOR models to construct fusion objects client-side in camel case, but then has to translate the highest property keys to snake case to use the FUSOR constructors. Those constructors then convert keys back to camel case to actually construct the objects. This is annoying.

Proposed solution

I don't think there's an end-all solution here, but one option is to add alias generators to all FUSOR models.

Alternatives considered

No response

Implementation details

No response

Potential Impact

No response

Additional context

No response

Contribution

Yes, I can create a PR for this feature.

@jsstevenson jsstevenson added enhancement New feature or request priority:low Low priority labels Aug 6, 2024
Copy link

github-actions bot commented Feb 3, 2025

This issue is stale because it has been open 180 days with no activity. This issue will be closed if no further activity occurs in 14 days.

@github-actions github-actions bot added the stale label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:low Low priority stale
Projects
None yet
Development

No branches or pull requests

1 participant