How to have uppercase field names #585
Unanswered
navigator-dev
asked this question in
Q&A
Replies: 1 comment
-
|
Seems like a bug. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have a field in our model that is an initialism (like URL, for example). Across the codebase we have other structs with this field where we use the full uppercase
URL. From what I can tell, Jet's default behavior is to change things to Pascal case or camel case (not really sure, sorry), so that field on the model is getting set asUrl. I have customized the generation to specifically look for that initialism and change the model field and force it to use the uppercase version, and that is working as expected.(a snippet of our generation script)
The problem we are facing is now whenever we try to use
.MODELor.MODELSwe get the following error:Is there any workaround for this? Currently we're just not using the
.MODEL/Smethods, but it would simplify our code a bit.Beta Was this translation helpful? Give feedback.
All reactions