The query input should be:
- should accept valid POJO instead of strict JSON. For example
{ name: 'armagan' } should be a valid query.
- syntax-highlighted
- should go multiline if the user hits enter
- should lint / fix indentation
- should run the query if the user hits cmd + enter
- should identify ObjectIds when pasted, and should fetch the record with only the object id in the input (
5dedd16e32bee525febd2d92 should be a valid query and shouldn't require _id: '5dedd16e32bee525febd2d92')
The query input should be:
{ name: 'armagan' }should be a valid query.5dedd16e32bee525febd2d92should be a valid query and shouldn't require_id: '5dedd16e32bee525febd2d92')