Skip to content

Conversation

@luisjakon
Copy link

The idea is to remove hard dependencies on strings and use these structs a close to bare metal as possible.

It may be also possible to remove dependence on defined methods for internal calls in the future since the new definitions are simple native arrays and maps in go. The benefit here is that downstream consumers can simply choose to use them as such through simple conversions.

@andy9775
Copy link
Owner

Thanks for the pr. I’m currently juggling a few things but I’ll look over it in the coming days.

@luisjakon
Copy link
Author

After looking at some errors, decided to use Keys as originally defined...did find some interesting enhancements in the process though...

@andy9775
Copy link
Owner

andy9775 commented Dec 3, 2019

@luisjakon if you have any ideas that differ from the current PR please open a second PR.

Thanks for the contributions BTW!

@luisjakon
Copy link
Author

The ideas are somewhat intertwined. While trying to simplify the structs I came across an enhancement to the LoadMany cache retrieval code which I unintentionally embedded onto this PR, but it works. Have a look at the dataloader.LoadMany(...) function.

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

Successfully merging this pull request may close these issues.

2 participants