Skip to content

Implement shaped lists#807

Open
danog wants to merge 25 commits into
CuyZ:masterfrom
danog:shaped_lists
Open

Implement shaped lists#807
danog wants to merge 25 commits into
CuyZ:masterfrom
danog:shaped_lists

Conversation

@danog

@danog danog commented May 14, 2026

Copy link
Copy Markdown
Contributor

Also includes the key-of implementation to avoid conflicts since key-of also applies to shaped lists

# Conflicts:
#	src/Type/Parser/Lexer/Token/KeyOfToken.php
#	src/Type/Parser/Lexer/Token/ValueOfToken.php
#	tests/Integration/Mapping/ArrayValueOfMappingTest.php
#	tests/Integration/Mapping/KeyOfMappingTest.php
#	tests/Unit/Type/Parser/LexingParserTest.php
@danog

danog commented May 20, 2026

Copy link
Copy Markdown
Contributor Author

Ping @romm :)

@romm

romm commented Jun 8, 2026

Copy link
Copy Markdown
Member

Hi @danog, thanks for the submission. I did a bit of refactoring to use the same class to parse both (shaped) lists and arrays, to avoid a lot of duplicated logic which would have made the maintenance harder.

@danog

danog commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Thanks, looks okay!

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.

2 participants