Commit Graph

14 Commits

Author SHA1 Message Date
Alexander Cerutti
1e22b974d6 Added unknown in catch variables ts 2023-04-19 23:48:52 +02:00
Alexander Cerutti
68c9b1588e Added fieldSchema property to FieldsArray 2022-11-09 19:31:44 +01:00
Alexander Cerutti
0b75b98c4a Improved fields warn expression 2022-02-22 00:07:15 +01:00
Alexander Cerutti
27511806a8 Added falsy fields to be automatically excluded with warn being emitted 2022-02-22 00:04:07 +01:00
Frederick Cai
16177dfa49 Fixed FieldsArray.push to preserve the order of input items 2022-02-22 09:09:36 +13:00
Alexander Cerutti
56cd96bced FieldsArray: merged assertUnfrozen check with registerWithValidation in splice 2021-10-26 00:13:14 +02:00
Alexander Cerutti
e31918d942 Refactored FieldsArray to add overrides for shift and unshift and to share code between methods 2021-10-25 01:00:51 +02:00
Alexander Cerutti
505520813a FieldsArray: fixed splice method to check incoming items and register their keys in pool; 2021-10-24 16:29:41 +02:00
Alexander Cerutti
3c706ddbb6 Changed messages format export from default to non-default 2021-10-23 19:09:38 +02:00
Alexander Cerutti
03643834f1 Removed fieldKeysPoolSymbol based on instance to create one when FieldsArray are created. This also solves a keys reset problem when fields gets created from scratch 2021-10-23 18:40:22 +02:00
Alexander Cerutti
3b69446873 Changed implementation of FieldsArray to accept passInstance instead of pool, to check frozen instance 2021-10-22 22:37:51 +02:00
Alexander Cerutti
907bb07912 Refactored all error messages, throws and tests. Added more throwing points and fixed others 2021-10-15 01:02:17 +02:00
Alexander Cerutti
77db921aea Removed debug from FieldsArray 2021-10-12 21:52:11 +02:00
Alexander Cerutti
968d3a019c Renamed fieldsArray file to FieldsArray 2021-10-08 23:26:56 +02:00