Add support for camelization of interface names and attributes
Standard case pattern in Python is underscore_case, while in TypeScript it's camelCase. This PR adds support for an extra argument, -c/--camelize, which converts all interface and attribute names to camel case in the output.
Sorry, I only ran pytest and didn't notice the rest of the tests were failing. It should work now, I also merged the latest changes from master.
Hi @gjulianm , Are you really formatting your payloads on the back-end to be received on the front-end as camelCase ? 🤔 We've been used to doing this on front-end reception, and therefore been using https://www.npmjs.com/package/ts-case-convert .
Have you been comparing both strategies and opted for the one on the back-end for some specific reason? 🙂
We've started working on py-ts-interfaces to add some improvements and fix some issues, are you still actively using it?
If not, have you found a better alternative?
Repo is going to archive read-only mode.