Skip to content

add DBType instance for Aeson.Object#395

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

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

Conversation

@raehik

@raehik raehik commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

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

@raehik

raehik commented Mar 11, 2026

Copy link
Copy Markdown
Contributor Author

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

@TeofilC

TeofilC commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

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

raehik commented Mar 11, 2026

Copy link
Copy Markdown
Contributor Author

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

raehik commented Mar 11, 2026

Copy link
Copy Markdown
Contributor Author

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

@TeofilC TeofilC left a comment

Copy link
Copy Markdown
Contributor

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