String labels -> keywords in API responses #7
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: jadedctrl/cl-ipfs-api2#7
Ŝarĝante…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Calls to the IPFS API currently return alists that are keyed with strings. It would be nice if the alists used keywords instead.
This is fairly easy to implement. A function something like this:
And then the yason:parse function can be called with :object-key-fn #'process-object-key
The benefits are:
The big downside is that it breaks the API. I can easily write up a patch to change things in cl-ipfs-api2 itself, but I don't want to make a mess for other users.
If necessary, I could make keywords optional. Let me know what you think.