opa icon indicating copy to clipboard operation
opa copied to clipboard

docs: type checking document should demonstrate new inline schema option

Open anderseknert opened this issue 2 years ago • 7 comments

The new inline schema option is neat, but even though its only use is for type checking, the docs on type checking make no mention of this — you'll need to see the docs on Annotations to know about it. We should have the docs on type checking updated to include this information.

anderseknert avatar Mar 09 '23 14:03 anderseknert

Hey @anderseknert, I would like to work on this issue! Could you please assign this to me?

bhavyastar avatar Mar 12 '23 10:03 bhavyastar

Of course 😃

anderseknert avatar Mar 12 '23 10:03 anderseknert

This issue has been automatically marked as inactive because it has not had any activity in the last 30 days.

stale[bot] avatar Apr 11 '23 22:04 stale[bot]

@anderseknert I want to work on this. The link in docs on annotations is not working, is there any updated link?

Abhishek-569 avatar Jul 27 '23 08:07 Abhishek-569

@Abhishek-569 here is the updated link https://www.openpolicyagent.org/docs/latest/policy-language/#metadata.

ashutosh-narkar avatar Jul 27 '23 17:07 ashutosh-narkar

Thanks. @ashutosh-narkar Can you tell me which docs on type checking needs to be updated here?

Abhishek-569 avatar Jul 28 '23 05:07 Abhishek-569

I think https://www.openpolicyagent.org/docs/latest/policy-language/#using-schemas-to-enhance-the-rego-type-checker.

ashutosh-narkar avatar Jul 28 '23 18:07 ashutosh-narkar