Tomasz Gieniusz

Results 3 issues of Tomasz Gieniusz

Fix for https://github.com/dry-rb/dry-schema/issues/400 Objects nested under arrays are not neccesailry arrays themselves - the `:member` option shouldn't be passed down the AST when generating json-schema. For example for the test...

Make sure to not override an existing `type: ["null", "array"]` with `type: "array"` if it's already filled by `visit_predicate` before `visit_set`. For example for the test schema https://github.com/dry-rb/dry-schema/blob/3065a8b97d89befce9379e6f5655783957123744/spec/extensions/json_schema/schema_spec.rb#L142-L146 the result...