Yura

Results 36 comments of Yura
trafficstars

The improved error message PR got merged, I am closing this issue now.

`nix develop` is broken for me: ``` error: … while calling the 'derivationStrict' builtin at /builtin/derivation.nix:9:12: (source not available) … while evaluating derivation 'ghc-shell-for-packages' whose name attribute is located at...

If we are talking about `URI` **not** `URL` here, then we shouldn't refer to `URL` validators checking `URI`s, but rather to the [RFC 3986](https://tools.ietf.org/html/rfc3986#page-7).

I digged down a bit, here is an example: Arbitrarily generated Uri has no `UserInfo` and no `Host` but has `Port` Parsed `Uri` took port value `:1` as a `UserInfo`....

I can already see several problems with respect to the RFC3986 here. In short: ABNF doesn't capture all the constraints, some of them are given additionally as a plain-text description:...

So after fixing path problem: ```scala for { scheme

Another observation. This parses fine: ```scala Uri.fromString("http://%BC:80") ``` This fails parsing: ```scala Uri.fromString("%BC:80") // Expected to parse? ```

> @Unisay Sorry for the delay, but I'll try to review this today. 🙏🏼 thank you, I will ll be addressing all the comments next week.

> * I definitely want us to validate the output against the schema! I found at least one bug, there might be more. I researched `JSON Schema` validator [tools](https://json-schema.org/implementations) that:...

> What tools are there that satisfy requirement 1? https://ajv.js.org/packages/ajv-cli.html I use it this way atm: ``` nix-shell -p nodejs_21 ``` then `npx` or `npm install`: ``` npx ajv-cli test...