Avi Blackmore

Results 16 comments of Avi Blackmore

@yfilali Is that code you wrote for optimize_resolve under the same MIT license as the rest of the library? I would love to make use of it.

@iksteen Your eager loader looks fascinating. Question: will it be able to handle custom-defined object types that are not SQLAlchemy models? I have a couple defined to handle special cases,...

Intriguing. When that's available, I will have to compare it with @yfilali's solution for performance and usability.

Is there any word on when this code may be merged?

That's fair enough. I'm looking at @qubitron's patch, and it looks like it may offer some additional flexibility. I will experiment with those classes.

Thank you, @qubitron . I had to make a few adjustments to get them to work, mostly in the area of missing imports. I also added a bit of smarts...

Ahhh, I see. Nice trick! Your implementation is only doing it for updates, though, and not for creation or deletion? Or am I misunderstanding the logic?

No problem! Your method is called after the mutation, to validate the created model. Is there a means to call it before, to validate the entire operation? I am guessing...

Might need to reraise it? I'll experiment with that. Meantime, here's my gist, where I made some changes to how automatic exclusion of fields in the input type works. Otherwise...

That looks like an exception being thrown from elsewhere in your call stack.