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

Problem with special characters in object names #8

Open
ilukac opened this issue Mar 28, 2020 · 2 comments
Open

Problem with special characters in object names #8

ilukac opened this issue Mar 28, 2020 · 2 comments

Comments

@ilukac
Copy link

ilukac commented Mar 28, 2020

Found a small problems with underscore.

The endpoint is providing the "_foobar" and "foobar" names of objects. The the generated code creates 2 selectFoobar() functions, hence its an error.

Not sure how to tackle this. Maybe replace the underscore with some character combination?

@mghoneimy
Copy link
Owner

Hello @ilukac ,
While I do realize now that this is a problem, I feel like it's not that common. Fixing it will require big changes to how the classes are generated.
I doubt that there's a character combination that can be used to replace the underscores that won't make the problem worse.
I'll look into this over the weekend and update you on what can be done.

@ilukac
Copy link
Author

ilukac commented Apr 22, 2020

Yeah, its not a big issue, I can easily fix the problem in the generated code, but submitted this so you are aware of the problem. I know its not easy to solve it :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants