jaystack / odata-v4-parser

OData v4 parser
38 stars 41 forks source link

Implement parsing of customQueryOption #8

Closed forivall closed 7 years ago

forivall commented 7 years ago

Also improves the typechecking for TokenTypes. Will need some manual work to merge with my namespace patch.

lazarv commented 7 years ago

Hi @forivall, TokenType is better now (after TypeScript 2.4) as a string enum type. Custom query option was commented as a TODO, but it would be better to leave only OData specific query options here in the parser. I removed that comment, sorry if that was misleading. Custom query options are much more simpler and also performance wise better to get through a simple query parser, using Express.js, qs, or even with a quick and dirty string split.