hi !
ocramz / aeson-schema Goto Github PK
View Code? Open in Web Editor NEWHaskell JSON schema validator and parser generator
License: MIT License
Haskell JSON schema validator and parser generator
License: MIT License
hi !
Setup: filepath wildcard 'test/test-suite/tests/draft3/optional/*.json' refers
to the directory 'test/test-suite/tests/draft3/optional', which does not exist
or is not a directory.
As seen in https://github.com/Fuuzetsu/aeson-schema/runs/4934691058?check_suite_focus=true#step:4:1228
Suggestion : we add a dependency on th-lift-instances : https://hackage.haskell.org/package/th-lift-instances-0.1.19/docs/Instances-TH-Lift.html
/home/runner/work/aeson-schema/aeson-schema/src/Data/Aeson/TH/Lift.hs:15:15: error:
Not in scope: type constructor or class ‘Text’
|
15 | instance Lift Text where
Hi @Fuuzetsu , perhaps it's faster if I take over this repo to cut a new release. Could you transfer it to me ? Thanks!
test/Data/Aeson/Schema/Examples.hs:20:30: error:
• No instance for (MonadFail (Either a0))
arising from a use of ‘mkPattern’
• In the expression: mkPattern (Data.Text.pack ".+String$")
In a pattern binding:
Right p = mkPattern (Data.Text.pack ".+String$")
In the expression:
let Right p_ai47 = mkPattern (Data.Text.pack ".+String$") in p_ai47
|
20 | let schema = [schemaQQ| {
| ^^...
test/Data/Aeson/Schema/Examples.hs:20:30: error:
• No instance for (MonadFail (Either a1))
arising from a use of ‘mkPattern’
• In the expression: mkPattern (Data.Text.pack ".+Number$")
In a pattern binding:
Right p = mkPattern (Data.Text.pack ".+Number$")
In the expression:
let Right p_ai48 = mkPattern (Data.Text.pack ".+Number$") in p_ai48
|
20 | let schema = [schemaQQ| {
| ^^...
test/Data/Aeson/Schema/Examples.hs:40:41: error:
• No instance for (MonadFail (Either a2))
arising from a use of ‘mkPattern’
• In the expression: mkPattern (Data.Text.pack ".+String$")
In a pattern binding:
Right p = mkPattern (Data.Text.pack ".+String$")
In the expression:
let Right p_apIO = mkPattern (Data.Text.pack ".+String$") in p_apIO
|
40 | let additionalNumbers = [schemaQQ| {
| ^^...
test/Data/Aeson/Schema/Examples.hs:55:46: error:
• No instance for (MonadFail (Either a3))
arising from a use of ‘mkPattern’
• In the expression: mkPattern (Data.Text.pack ".+String$")
In a pattern binding:
Right p = mkPattern (Data.Text.pack ".+String$")
In the expression:
let Right p_apJp = mkPattern (Data.Text.pack ".+String$") in p_apJp
|
55 | let noAdditionalProperties = [schemaQQ| {
| ^^...
test/Data/Aeson/Schema/Examples.hs:154:30: error:
• No instance for (MonadFail (Either a4))
arising from a use of ‘mkPattern’
• In the expression: mkPattern (Data.Text.pack "^[a-z]$")
In a pattern binding:
Right p = mkPattern (Data.Text.pack "^[a-z]$")
In the expression:
let Right p_apQs = mkPattern (Data.Text.pack "^[a-z]$") in p_apQs
|
154 | let schema = [schemaQQ| {
| ^^...
Hi! This library looks perfect for what I need, but when I try to install it it looks like many of this lib's dependencies are out of date:
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for aeson-schema-0.4.1.1:
QuickCheck-2.9.2 must match >=2.4.2 && <2.9 (latest applicable is 2.8.2)
aeson-1.1.2.0 must match >=0.11.0.0 && <0.12 (latest applicable is 0.11.3.0)
syb-0.7 must match >=0.4.4 && <0.7 (latest applicable is 0.6)
template-haskell-2.11.1.0 must match <2.11 (latest applicable is 2.10.0.0)
vector-0.12.0.1 must match >=0.10 && <0.12 (latest applicable is 0.11.0.0)
Is it possible to update the dependencies, or is there a workaround you suggest?
Thanks!
It's possible that Hackage wasn't able to build the package.
Is it possible for you to manually upload the package using cabal upload --doc
, please? Note that this requires cabal-install >= 1.24
Thanks!
I just ran into a build failure on a machine that doesn't have pkg-config (2020 Mac M1)
Are there native Haskell replacements for regular expressions we could use here instead?
The latest version on hackage is currently broken.
Is it possible to bump QuickCheck upper boundary constraint to at least 2.13?
It can't be solved with Servant
otherwise because it requires QuickCheck >= >=2.12.6.1
A revision on Hackage would do too, no need for a full new version release.
Thanks!
Hi, I would love to use this library but I'm hitting some inconsistent version constraints; could you add it to Stackage such that it will be possible to check its requirements against many other libraries ? Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.