mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-25 09:45:14 -06:00
1d51c1df61
Some quirks encountered in the upgrade: - Errors reported by the parser are now zero-indexed - A few errors seemingly reported on the line after the error rather than where it happened - Also a few tests where the line number reported *previously* seemed wrong but now is right - Something different in how the parser unmarshalled to the "raw" schema annotation type we used. Changed to use a a map instead of that type alias.. but I'm not really sure why that had to be done Perhaps worth looking into this further. But pushing this now to start that discussion. Fixes #7090 Signed-off-by: Anders Eknert <anders@styra.com>