Skip to content
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

Marshal Date using the same format UnmarshalJSON expects. #29

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

zszugyi
Copy link
Contributor

@zszugyi zszugyi commented Nov 25, 2024

scryfall.Date is marshaled as a timestamp, which makes unmarshaling scryfall.Sets fail unless either marshaling or unmarshaling is customized.

@BlueMonday
Copy link
Owner

Interesting so you are marshaling a Set type?

I think this makes sense to include for completeness sake. Thank you for the contribution!

@BlueMonday BlueMonday merged commit e9e4770 into BlueMonday:master Nov 27, 2024
1 check passed
@BlueMonday
Copy link
Owner

This change has been released in v0.5.0: https://github.com/BlueMonday/go-scryfall/releases/tag/v0.5.0

@zszugyi
Copy link
Contributor Author

zszugyi commented Nov 27, 2024

Interesting so you are marshaling a Set type?

I think this makes sense to include for completeness sake. Thank you for the contribution!

Thanks for making the library!
I'm caching the sets list on disk to avoid fetching them each time I run the CLI tool I'm using the library in.

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