Conversation
|
Your PR no longer requires formatting changes. Thank you for your contribution! |
lkdvos
left a comment
There was a problem hiding this comment.
Cool! Do you have any idea if this would make sense to implement at the VectorInterface level? Alternatively, to not necessarily mark everything as @is_primitive there but to already provide the implementation?
|
We could do it there if it's generic enough? I don't have a strong opinion tbh |
|
It looks like all rules are implemented solely in terms of Mooncake or VectorInterface functions, so that might just work? |
|
Nice, I can move these over tomorrow then |
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
|
I think you still need the |
|
Addressed by another PR over there 😉 |
4dd9c94 to
eb25bbc
Compare
There was a problem hiding this comment.
Do you know if something like this works:
@static if pkgversion(VectorInterface) < v"0.6.0"
# previous implementation
endThis would allow us to continue supporting old + new version of VectorInterface.
For the current implementation, I guess this might break the rrule implementations that were already there if the correct version of VectorInterface is not loaded. In that case, I would maybe just bite the bullet and actually restrict to VectorInterface v0.6 and just deal with that?
There was a problem hiding this comment.
Not sure, I can try it tomorrow!
There was a problem hiding this comment.
Having to support the old versions again leads to having duplicated rules all over the place, though, one advantage of doing it the current way is being able to cut quite a few lines from the extension.
No description provided.