Commit Graph

8 Commits

Author SHA1 Message Date
Mariusz Nowak
fe3e4922a7 style: Prettify 2024-05-23 21:55:17 +02:00
Mariusz Nowak
9b1d235a34 refactor: update up to new lint rules 2017-08-28 13:51:01 +02:00
Kirill Efimov
9cf8df8c22 Added promise support 2016-01-27 04:16:49 +03:00
Mariusz Nowak
f471af7835 Provide no-args handling out of a box 2014-05-01 11:35:48 +02:00
Mariusz Nowak
84eb35d4c4 Rename regular normalizers module names 2014-04-27 13:08:59 +02:00
Mariusz Nowak
78af0c0c51 Moved normalizers out of lib folder 2014-04-27 12:59:01 +02:00
Mariusz Nowak
50cb4cfde1 Remove support for serialize option
Instead support function value for `normalizer`
2014-04-27 12:17:37 +02:00
Mariusz Nowak
eb72d16bf6 Major reorganization and partial refactoring
- Move out main modules from `lib` folder
- Introduce `normalizer` based configurations, and convert primitive and regular handlers into thos normalizers (can be found in lib/normalizers folder). Custom normalizers can be provided at run time via `normaizer` option
- Provide `plain` module which does not load any extensions or normalizers. Any extensions that have to be used should be required upfront and normalizers should be provided directly
- Remove `method` option, instead `methods` and `methods-plan` modules are provided which generate descriptors for lazy created memoized methods
- `profile` is no longer extension. To be used it should be required directly
- Improve logic for `async` handling
- Take out `max` extensionLRU logic into external `lru-queue` package
- Remove `context` option
- Remove possibility to access original arguments when resolvers are used
- Assure expected length of memoized functions
2014-04-27 12:11:06 +02:00