Skip to content

feature: make AnnotationParser more modular#509

Merged
Citymonstret merged 1 commit into2.0.0-devfrom
feature/2.0.0/modular-parser
Nov 16, 2023
Merged

feature: make AnnotationParser more modular#509
Citymonstret merged 1 commit into2.0.0-devfrom
feature/2.0.0/modular-parser

Conversation

@Citymonstret
Copy link
Copy Markdown
Member

@Citymonstret Citymonstret commented Nov 15, 2023

This PR allows us to swap out the components that make up the annotation parsing process. This means that we're no longer bound to the cloud annotations, and that users can swap out how command methods are detected, arguments are bound, flags are assembled, etc.

Example of what this allows us to do: https://github.com/Incendo/cloud/blob/eeadc61c90771ae616f0ed4d387a94ebdff908f4/cloud-annotations/src/test/java/cloud/commandframework/annotations/feature/ArgumentDrivenCommandsTest.java

@Citymonstret Citymonstret added this to the 2.0.0 milestone Nov 15, 2023
@Citymonstret Citymonstret self-assigned this Nov 15, 2023
@Citymonstret Citymonstret changed the title Back to 1.9.0-SNAPSHOT feature: make AnnotationParser more modular Nov 15, 2023
@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 15, 2023

Test Results

  56 files  +1    56 suites  +1   9s ⏱️ -1s
238 tests +1  238 ✔️ +1  0 💤 ±0  0 ±0 
239 runs  +1  239 ✔️ +1  0 💤 ±0  0 ±0 

Results for commit eeadc61. ± Comparison against base commit 4fdfbf7.

♻️ This comment has been updated with latest results.

@Citymonstret Citymonstret force-pushed the feature/2.0.0/modular-parser branch 2 times, most recently from be6c2bb to a449d93 Compare November 16, 2023 07:10
@Citymonstret Citymonstret force-pushed the feature/2.0.0/modular-parser branch from a449d93 to eeadc61 Compare November 16, 2023 07:37
@Citymonstret Citymonstret marked this pull request as ready for review November 16, 2023 07:51
@Citymonstret Citymonstret linked an issue Nov 16, 2023 that may be closed by this pull request
@Citymonstret Citymonstret merged commit 4ca84ad into 2.0.0-dev Nov 16, 2023
@Citymonstret Citymonstret deleted the feature/2.0.0/modular-parser branch November 16, 2023 08:10
@Citymonstret Citymonstret mentioned this pull request Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Make the annotation parser more flexible

1 participant