Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created basic rule #21

Merged
merged 9 commits into from
Jul 18, 2023
Merged

Created basic rule #21

merged 9 commits into from
Jul 18, 2023

Conversation

Bullrich
Copy link
Collaborator

@Bullrich Bullrich commented Jul 17, 2023

Created object for basic rule.

First step towards #9

By using Types in typescript we can differ what is the type of rule easily. I also added checks to Joi to ensure that the rule has everything required before individually validating it.

Added tests to evaluate the process thoroughly.

@Bullrich Bullrich self-assigned this Jul 17, 2023
@Bullrich Bullrich added this to the Project launch milestone Jul 17, 2023
@Bullrich Bullrich marked this pull request as ready for review July 18, 2023 13:10
@Bullrich Bullrich requested a review from a team as a code owner July 18, 2023 13:10
@Bullrich
Copy link
Collaborator Author

@paritytech/opstooling it is ready for review.

I have not added the logic of evaluating a PR, that will be added later.

I decided to break it into two parts so it doesn't get too big and cumbersome to review.

@Bullrich Bullrich changed the title Created basic rules Created basic rule Jul 18, 2023
@Bullrich Bullrich merged commit 469de22 into main Jul 18, 2023
5 checks passed
@Bullrich Bullrich deleted the basic-rule branch July 18, 2023 16:16
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.

None yet

2 participants