-
Notifications
You must be signed in to change notification settings - Fork 14
Updating to instance types #7
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
@luislavena meanwhile the specs are failing 😢 |
Seems you based your change on a previous version. Please review your Sorry for top posting, sent from mobile.
|
Okay, i'll review tonight 👍 |
@luislavena I just checked that and can confirm that this is up to date 👍 |
Sorry but no, you're removing the work from master like SharedKeyError, the Sorry for top posting, sent from mobile.
|
Ah okay, i've just seen that my bad 😢 If you want i can remove this PR and wait for you to update |
Bear with me, but I'm missing the point from your pull request (will be Is there something specific you're trying to fix or that radix doesn't work From what I skimmed on the diff, I couldn't tell what is what you want to Thank you. Sorry for top posting, sent from mobile.
|
As you may already know i'm using For example this won't work in the new Crystal version because the type is not known https://github.com/luislavena/radix/blob/master/src/radix/result.cr#L17. This PR is the sum of all that instance type requirements. Note: The link to related Crystal issue crystal-lang/crystal#2443 |
I haven't check the new changes on Crystal, but definitely sounds like a In relation to payload, you cannot remove the possibility of it to be nil, That means that T also needs to consider Right now in bed (sick) so will try to look at this maybe tomorrow or Hope you understand. Sorry for top posting, sent from mobile.
|
@luislavena oh sorry to bother you. Hope you get well soon 🙏 Thank you! |
dd1f837
to
518ad50
Compare
@luislavena i've update the specs but can't find a solution for initializing a Here's the stacktrace.
|
@luislavena now all specs are passing 🚀 👍 I think this is ready for me 😄 |
Thank you @sdogruyol, I have fixes for this locally but need more testing against our internal codebase. Will update tomorrow. Cheers. |
@luislavena any update on this 😃 |
Introduce types for forward compiler compatibility Closes #7
@sdogruyol my coworkers and I decided to go with changes in #8, which included the optional payload and updates to the documentation. Going to wrap this as |
@sdogruyol |
Good job 👍 |
Thank for your contribution and patience. Have a nice weekend. |
Thank you too 🎉 |
This updates
Radix
to new instance type implementation.Note that i've updated
Node
,Result
,Tree
toNode(T)
,Result(T)
,Tree(T)
to support generic payloads.