[GH-ISSUE #60] Enforce using constants for node kind comparison using custom lint #21

Closed
opened 2026-03-07 19:40:49 +03:00 by kerem · 0 comments
Owner

Originally created by @adpaco-aws on GitHub (Dec 5, 2025).
Original GitHub issue: https://github.com/awslabs/iam-policy-autopilot/issues/60

We want to avoid comparing node kinds to string so we're going to start using constants instead. It should be possible to enforce it using a custom clippy lint.

See original discussion:

Originally posted by @mschlaipfer in https://github.com/awslabs/iam-policy-autopilot/pull/50#discussion_r2592245363

Originally created by @adpaco-aws on GitHub (Dec 5, 2025). Original GitHub issue: https://github.com/awslabs/iam-policy-autopilot/issues/60 We want to avoid comparing node kinds to string so we're going to start using constants instead. It should be possible to enforce it using a custom clippy lint. See original discussion: _Originally posted by @mschlaipfer in https://github.com/awslabs/iam-policy-autopilot/pull/50#discussion_r2592245363_
kerem 2026-03-07 19:40:49 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/iam-policy-autopilot#21
No description provided.