Skip to content

types: add stronger types and helpers for inspecting Paths and Path derivatives#131

Open
patjakdev wants to merge 1 commit intocedar-policy:mainfrom
strongdm:patjak/namespace-helpers
Open

types: add stronger types and helpers for inspecting Paths and Path derivatives#131
patjakdev wants to merge 1 commit intocedar-policy:mainfrom
strongdm:patjak/namespace-helpers

Conversation

@patjakdev
Copy link
Collaborator

@patjakdev patjakdev commented Feb 11, 2026

Issue #, if available:

Description of changes:
Now, instead of passing types.Paths around all over the place in the schema code, we can know that we've got a Namespace or a commonType or a EntityType and the code becomes easier to understand (IMO).

The new methods on Path and EntityType may also help cedar-go users write more understandable code.

@patjakdev patjakdev force-pushed the patjak/namespace-helpers branch 2 times, most recently from 1e1a633 to 87af386 Compare February 11, 2026 17:01
…erivatives

Now, instead of passing types.Paths around all over the place in the schema code, we can know that we've got a Namespace or a commonType or a EntityType and the code becomes easier to understand (IMO).

The new methods on Path and EntityType may also help cedar-go users write more understandable code.

Signed-Off-By: Patrick Jakubowski <patrick.jakubowski@strongdm.com>
@patjakdev patjakdev force-pushed the patjak/namespace-helpers branch from 87af386 to 4aa1601 Compare February 11, 2026 17:12
@patjakdev patjakdev marked this pull request as ready for review February 11, 2026 17:14
@patjakdev patjakdev requested a review from philhassey February 11, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant