-
-
Notifications
You must be signed in to change notification settings - Fork 7k
fields.get_attribute: return None for FK lookups #5727
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
Conversation
"lint" CI failure is unrelated. Some advice for where to put a test would be nice, if this change makes sense in general. |
Adding this to my todo list. In general, I need to go back and check the behavior around missing FK's, similar to the changes made in #5375. |
Hey @blueyed. Sorry for the slow follow-up here.
I don't mind where so much to begin — perhaps just drop something into test fields — but a reproduce in a test case in this PR would be great. Any chance you can whip one up? Thanks! |
… when path components may be null. Ref encode#5375, encode#5727
… when path components may be null. Ref encode#5375, encode#5727
b976867
to
0a77ff6
Compare
OK… I added a test covering the problem use-case from #5375 (in #5880). I've rebased this on that. From #5375 (comment)
In order to support correct Once the build completes, I will close this one as-is. It looks like a non-starter. (Happy to reopen, or do it on a new PR, if we can make progress.) I'm still looking at the underlying issue. |
… when path components may be null. Ref encode#5375, encode#5727
Ref: #5708 (comment)
TODO: