8000 feat(core): Replace compound arguments with specialized aggregate parser builders by jpenilla · Pull Request #719 · Incendo/cloud · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(core): Replace compound arguments with specialized aggregate parser builders #719

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

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

jpenilla
Copy link
Member
@jpenilla jpenilla commented Apr 7, 2024

fixes #711

also fixes the resulting type(token)s (literal Pair<U extends Object, V extends Object> -> actual type ie Pair<String, Integer>)

Copy link
github-actions bot commented Apr 7, 2024

Test Results

 85 files  ±0   85 suites  ±0   12s ⏱️ ±0s
418 tests ±0  418 ✅ ±0  0 💤 ±0  0 ❌ ±0 
462 runs  ±0  462 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 32b334d. ± Comparison against base commit 895813f.

♻️ This comment has been updated with latest results.

@jpenilla jpenilla force-pushed the replace-compound-args branch 4 times, most recently from 8d82b30 to d51c3f5 Compare April 7, 2024 04:20
@Machine-Maker
Copy link
Contributor

Does it have to be setup such that you first have to add the parsers to the ParserRegistry? I pretty much never use that cause I don't use annotations. Being able to set the types+parser directly instead of having to go through 1 extra step would be nice.-

@jpenilla jpenilla force-pushed the replace-compound-args branch from d51c3f5 to 0c8cba4 Compare April 7, 2024 22:48
@jpenilla
Copy link
Member Author
jpenilla commented Apr 8, 2024

I've added some factory methods that take ParserDescriptors, I'm not sure about adding even more methods to Command.Builder though.

@jpenilla jpenilla merged commit 3b8b219 into master Apr 9, 2024
@jpenilla jpenilla deleted the replace-compound-args branch April 9, 2024 17:33
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.

ArgumentPair should support TypeToken
3 participants
0