15five / scim2-filter-parser

A customizable parser/transpiler for SCIM2.0 filters
Other
24 stars 8 forks source link

Return NamedTuple rather than tuple. #12

Closed logston closed 4 years ago

logston commented 4 years ago

It would be nice to return a NamedTuple instead of a tuple here:

https://github.com/15five/scim2-filter-parser/blob/7ddc216f8c3dd1cdb2152944187e8f7f5ee07be2/src/scim2_filter_parser/transpilers/sql.py#L148

This way parts of each path could be accessed by name rather than by index in the tuple.