hyperweb-io / hyperweb-io/telescope

managing internal/external API casing

Open
#222 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
154
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Seems that amino coding is more simple when using original casing, but RPC returns proto/camel casing. It's quite the task to manage two sets of types or numerous sets of types for this, so this issue is an attempt to come up with solutions to manage this all:

https://github.com/sindresorhus/type-fest#change-case

do it ‘backwards’

1. do keepCase: true
2. then expose CamelCaseDeep typing on the “Edge” the developer APIs
3. potentially use fromSDKToCamel or fromSDKtoSnake (make these) to the API
1. depending on what the dev wants (camel vs snake)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.