Skip to content

add DBType instance for Aeson.Object#395

Merged
TeofilC merged 2 commits intocircuithub:masterfrom
raehik:dbtype-aeson-object
Mar 12, 2026
Merged

add DBType instance for Aeson.Object#395
TeofilC merged 2 commits intocircuithub:masterfrom
raehik:dbtype-aeson-object

Conversation

@raehik
Copy link
Contributor

@raehik raehik commented Mar 11, 2026

Piggybacks off of the existing instance DBType Aeson.Value. Uses Aeson's parse failure message directly. Closes #394 .

@raehik
Copy link
Contributor Author

raehik commented Mar 11, 2026

Sorry, the Nix build was taking ages, so I crossed my fingers. I'll force push this with a fix in a bit.

@TeofilC
Copy link
Contributor

TeofilC commented Mar 11, 2026

I think CI might just be broken independently of your changes. I'll resolve that soon

@raehik raehik marked this pull request as draft March 11, 2026 15:44
@raehik
Copy link
Contributor Author

raehik commented Mar 11, 2026

It did fail on my change: I mixed up a type, eitherDecodeStrict takes a ByteString and not a Value.

@raehik raehik force-pushed the dbtype-aeson-object branch from 00c7797 to 00b2abc Compare March 11, 2026 16:09
@raehik raehik marked this pull request as ready for review March 11, 2026 16:23
@raehik
Copy link
Contributor Author

raehik commented Mar 11, 2026

I added a test in the appropriate place too. I haven't double checked it locally, but CI is happy.

@raehik raehik requested a review from TeofilC March 12, 2026 14:33
Copy link
Contributor

@TeofilC TeofilC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent thanks!

@TeofilC TeofilC merged commit 54f7746 into circuithub:master Mar 12, 2026
1 check passed
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.

No instance DBType Data.Aeson.Object

2 participants