Skip to content

Conversation

@Mielek
Copy link
Collaborator

@Mielek Mielek commented Nov 28, 2025

Closes #178, #183
Enables contributors #179

@Mielek Mielek changed the title Update docs and add adding new policy guide docs: Update docs and add adding new policy guide Nov 28, 2025
Copy link
Member

@tomkerkhove tomkerkhove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a bunch of comments to make it more fluent/structurize but LGTM; I'll give this a try soon!

Refer to existing policies for detailed examples. It is recommended to look at `RateLimit` or `Quota` policies.
They are contain all possible aspects of a policy compilation implementation.

## Steps to add a new policy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd break this apart in to the same steps defined in section above; this also allows you to provide deep links to people when needed

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not understand your point. but let's for now keep it that way. We iterate on that guide after it will be tried by contributor.

Copy link
Member

@tomkerkhove tomkerkhove Nov 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add sub headers similar to what you have in the list above

### Compiler

guidance

### Tests

guidance

But sounds good =)

Mielek and others added 10 commits November 28, 2025 15:57
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
@Mielek Mielek linked an issue Nov 28, 2025 that may be closed by this pull request
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.

Update documentation with new namespace Supported policies list is outdated

3 participants