Reject unrecognised configuration file options #39

Closed
opened 2019-12-08 10:12:34 +02:00 by Manos Pitsidianakis · 0 comments

Unrecognised values in the configuration file means there's either typos or junk. Either way the user should be notified and correct it.

  • Add unrecognised field of type HashMap<String, String> that gets populated with fields not in our configuration structs (see struct flattening - serde) and reject if it's not empty
Unrecognised values in the configuration file means there's either typos or junk. Either way the user should be notified and correct it. - [ ] Add `unrecognised` field of type `HashMap<String, String>` that gets populated with fields not in our configuration structs (see [struct flattening - serde](https://serde.rs/attr-flatten.html)) and reject if it's not empty
Manos Pitsidianakis added the
help wanted
enhancement
easy
labels 2019-12-08 10:12:34 +02:00
Manos Pitsidianakis added this to the release milestone 2020-03-17 17:30:48 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: meli/meli#39
There is no content yet.