Skip to content

BlockHeaderResponse: Support x-algorand-format BlockHeaderResponse in templates/generation.#85

Merged
gmalouf merged 1 commit intomasterfrom
blockheaderresponse-format-handling
Feb 7, 2025
Merged

BlockHeaderResponse: Support x-algorand-format BlockHeaderResponse in templates/generation.#85
gmalouf merged 1 commit intomasterfrom
blockheaderresponse-format-handling

Conversation

@gmalouf
Copy link
Contributor

@gmalouf gmalouf commented Feb 6, 2025

In order to differentiate the type generation for the responses to /v2/blocks/{round} vs /v2/blocks/{round}/header, introduce a new x-algorand-format as a type hint.

@gmalouf gmalouf added the enhancement New feature or request label Feb 6, 2025
@gmalouf gmalouf self-assigned this Feb 6, 2025
@gmalouf gmalouf merged commit 275b2b7 into master Feb 7, 2025
1 check passed
@gmalouf gmalouf deleted the blockheaderresponse-format-handling branch February 7, 2025 16:19
@gmalouf gmalouf restored the blockheaderresponse-format-handling branch February 7, 2025 16:19
gmalouf added a commit that referenced this pull request Feb 7, 2025
gmalouf added a commit that referenced this pull request Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants