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

[NEOS-1775] Allow import/export job mappings in grpc format #3349

Closed
nickzelei opened this issue Mar 11, 2025 · 1 comment
Closed

[NEOS-1775] Allow import/export job mappings in grpc format #3349

nickzelei opened this issue Mar 11, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@nickzelei
Copy link
Member

When using the grpc format, the job mappings need to be in the snake_case format. Where as on the frontend using connect, it uses the camelCase format. Why it does this is unusual and unknown. We could explore seeing if there was a way to return them in that format, but would be a breaking API change.

From SyncLinear.com | NEOS-1775

@nickzelei nickzelei added the enhancement New feature or request label Mar 11, 2025
@nickzelei
Copy link
Member Author

Seems to specifically be an encoding issue with the protobuf-es client where it uses lowerCamelCase as its default.

https://github.com/bufbuild/protobuf-es/blob/main/MANUAL.md#field-names
Either we change this to use the same snake_case format, or offer a way to generate the mappings in snake case as an option (or we update the export to export as snake case and then update the import to handle both cases)

@nickzelei nickzelei self-assigned this Mar 11, 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
Projects
None yet
Development

No branches or pull requests

1 participant