This repository has been archived by the owner on Jan 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: add data type to
define_plan_node
macro (#136)
Add data type to `define_plan_node`. The benefits include: - Pass actual data type in `new` instead of converting it to `Value` outside first to reduce boilerplate code. - Aggregate the serialization and deserialization to one place, to ensure serialization and deserialization use the same format - Data type is clear from the macro invocation
- Loading branch information
Showing
2 changed files
with
52 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters