Skip to content

fix(pdp): s/piece_cid/pieceCid to make JSON response casing consistent #547

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Jun 23, 2025

This is the only place in the pdp handlers where we have _'s. This is probably good to fix earlier than later. On the client side, in my code at least, I'll make it accept both forms for now and remove the older form when we think we have it rolled out properly.

this is the only place in the pdp handlers where we have _'s
rvagg added a commit to FilOzone/synapse-sdk that referenced this pull request Jun 23, 2025
Also handle the piece_cid -> pieceCid transition

Ref: filecoin-project/curio#547
rvagg added a commit to FilOzone/synapse-sdk that referenced this pull request Jun 24, 2025
Also handle the piece_cid -> pieceCid transition

Ref: filecoin-project/curio#547
virajbhartiya pushed a commit to virajbhartiya/synapse-sdk that referenced this pull request Jun 24, 2025
Also handle the piece_cid -> pieceCid transition

Ref: filecoin-project/curio#547
virajbhartiya pushed a commit to virajbhartiya/synapse-sdk that referenced this pull request Jun 25, 2025
Also handle the piece_cid -> pieceCid transition

Ref: filecoin-project/curio#547
virajbhartiya pushed a commit to virajbhartiya/synapse-sdk that referenced this pull request Jul 3, 2025
Also handle the piece_cid -> pieceCid transition

Ref: filecoin-project/curio#547
rvagg added a commit to virajbhartiya/synapse-sdk that referenced this pull request Jul 4, 2025
Also handle the piece_cid -> pieceCid transition

Ref: filecoin-project/curio#547
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