-
Notifications
You must be signed in to change notification settings - Fork 394
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
Invalid UserInfo accessors generated. #158
Comments
I've been looking into this some more and it looks like it needs a slightly different kind of solution. The problem is that userInfo's can contain anything, keys and values. Just parsing out the dots/whitespace is not going to cut it. Also it's assumed that the userInfo is static while it's not. You can change userInfo at runtime. I do see this functionality being useful though. What about prefixing? That way you can set some rules. There is already a "mogenerator.readonly" key, so what about anything that starts with "mogenerator."? Value has to be a string. Thoughts? |
|
Punting this to 1.29. No forward motion in a while and I don't want to hold up 1.28. |
Does this mean you are taking the pull request out? Current master branch is unusable for me because of this. Just generates bad code. |
Hello.....So What we can do to support non-alphanumeric characters like dots |
Pull request #131 to create accessor for UserInfo is very handy. However it doesn't clean the UserInfo keys and can cause compilation failures esp on existing data models. For instance, my model is full of "com.apple.syncservices.Syncable" UserInfo keys which generate invalid objective-c code.
The text was updated successfully, but these errors were encountered: