Closed ghost closed 1 year ago
Can i check if certain keys have different values or same values ( mentioning the same website twice should be an error,etc )
Great idea! We should add this to Grammar.
@breck7 adding support for https://github.com/prettier/prettier and then having minimal diff patches seems to be important for working with own tools. Your code reviews have caught this many times, It would be really nice for people like me, if you could have something more simpler than grammar to solve this issue
Context: https://github.com/breck7/pldb/commit/cca4f51c5264de4cbf0fa5c28814ce6d1249a130#r86588860
This is a great idea @SRS-WRKS !! Lets do it. I can look into it as well if you have other things
These are good suggestions! 👍
@celtic-coder : thank you
@breck7 : We can get this done. I jam just sad that i hadn't found you sooner !!!! , Please bear with me in the short term.
Added the ability to check for duplicates: 1bceda9a
check the number of keys of the same name in a table and have some validation logic (If some table entry has 2 websites then 2 usernames should be provided)
Can i check if certain keys have different values or same values ( mentioning the same website twice should be an error,etc )
As far as i am aware i have not found any information about how to manage accidental additions (https://prettier.io/) might help a lot in detecting this manually.