Commit Graph

15 Commits

Author SHA1 Message Date
Fabio Bozzo
ad03154b6e handle list nodes equality in selector 2024-09-16 13:00:13 +02:00
Fabio Bozzo
d57d2a230b handle Optional Iterator selector 2024-09-13 16:26:46 +02:00
Fabio Bozzo
7060d4bb33 handle Optional Null Iterator selector 2024-09-13 15:33:11 +02:00
Fabio Bozzo
a183b627be handle String Slice selector 2024-09-13 14:49:52 +02:00
Fabio Bozzo
dbfff3f70c refactoring resolve func 2024-09-13 14:44:26 +02:00
Fabio Bozzo
cb45d9019b handle Array Slice selector 2024-09-13 14:18:59 +02:00
Fabio Bozzo
2e17ff8550 handle Bytes Index [0] selector and fix case input 2024-09-13 13:06:49 +02:00
Fabio Bozzo
e86e45be73 handle String Index selector 2024-09-12 18:19:50 +02:00
Michael Muré
4dd91f95f7 selector: workaround panic() go-ipld-prime with negative index
Waiting on https://github.com/ipld/go-ipld-prime/pull/571 to be released.
2024-09-02 18:08:49 +02:00
Michael Muré
4d0a0a2bcc selector: use a string builder to avoid excessive allocation 2024-09-01 17:22:21 +02:00
Michael Muré
431a9f008a policy: split out the parsing for readability 2024-09-01 17:20:09 +02:00
Michael Muré
bd7ff3dc3f selector: support negative index on lists 2024-09-01 17:08:49 +02:00
Michael Muré
53af455709 selector: don't panic on empty input for Parse() 2024-09-01 17:08:18 +02:00
Michael Muré
b0c96b25dc selector: simplify the public interface of the package
Those extra interfaces are not necessary.
2024-08-31 15:48:24 +02:00
Michael Muré
0e5ae7ae0d policy: move into /capability 2024-08-30 22:49:54 +02:00