aeson-schemas icon indicating copy to clipboard operation
aeson-schemas copied to clipboard

Easily consume JSON data on-demand with type-safety

Results 9 aeson-schemas issues
Sort by recently updated
recently updated
newest added

Hello 👋🏼 Great work on this library. I was curious / had a potential feature request. Has there been any exploration into generating smart constructors / setters that would allow...

## Describe the bug First of all, thanks for the amazing plugin 🙂 I just started picking up Haskell for my pet project so my knowledge is pretty limited. So...

Investigate if it would be possible to support ```hs type Person = [schema| { parents: List #Person, } |] ```

```hs mkGetter' "Node" "getNodes" ".nodes[]" ``` should work for any object with a `nodes` key. Could be implemented with a helper that generates the type of the input of ```hs...

The following schemas compile, but would always fail at runtime: ```hs [schema| { a: Int, [b]: { a: Bool } } |] [schema| { a: Int, [b]: { [c]: {...

From the README: ``` :1:6: error: • Key 'isEnabled' does not exist in the following schema: '[ '("id", 'Data.Aeson.Schema.SchemaInt), '("name", 'Data.Aeson.Schema.SchemaText), '("age", 'Data.Aeson.Schema.SchemaMaybe 'Data.Aeson.Schema.SchemaInt), '("enabled", 'Data.Aeson.Schema.SchemaBool), '("groups", 'Data.Aeson.Schema.SchemaMaybe ('Data.Aeson.Schema.SchemaList ('Data.Aeson.Schema.SchemaObject...

enhancement
question

```hs type Foo = [schema| { foo: HashMap Text Int } |] ```

We should check benchmarking against other methods of doing the same thing, specifically: * aeson-schemas * manual FromJSON instance * manual FromJSON instance using `genericFromJSON` * FromJSON generic deriving The...

help wanted

It would be nice to have a constraint like `SchemaHas base schema` that constrains that `schema` contains at least `base`. Don't know if this is even possible, requires research. For...

enhancement