schema icon indicating copy to clipboard operation
schema copied to clipboard

📐 Validating data structures against a given Schema.

Results 19 schema issues
Sort by recently updated
recently updated
newest added

- bug fix / new feature: new feature - BC break? no - doc PR: nette/docs#??? will write if accepted While using Nette/Schema I found little discomfort when using PHP...

The `Expect::from` is nice, but it does not really work for immutable objects like the following: ```php

- new feature #36 - no - no docs, readme is updated. As we talk on #36 this is rather crude implementation based on https://github.com/redbitcz/subreg-api-php/blob/60f377ac68f3c1871b926eca336f5eb8d3368455/src/Schema/DateTime.php Please let me know what...

It will useful to have a possibility to convert integration schemas (XSD, JsonSchema, WADL, ...) to Nette/Schema or back. Because of that, it will be nice to have a possibility...

It would be handy to provide expectations for datetime too, typically validation & parsing in given format. Apart from format typically we use min and max validations as well as...

enhancement

Hi, Nice piece of code. Do you think there is a way to access the $items property in the Structure::class ? I use this value in 2 cases : 1)...

enhancement

We have an API that maps the URL to PHP method and the POST JSON data to method arguments, for example `curl -XPOST https://mysite/api/device/add -d'{"id": 1, "data": [1,2,3]}'` would call...

enhancement

I'm trying to solve recursive schema validation in [menu library](https://github.com/contributte/menu-control) when you have tree structure of menu (submenu items). Here's what I did as temporary solution: ```php final class MenuExtension...

What about some kind of Definition generation direct from Schema? It can be useful for implement some business logic depend on defined schema. Maybe something like this: **Basic type:** ```php...

enhancement