{"html_url": "https://github.com/simonw/datasette/issues/294#issuecomment-405026800", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/294", "id": 405026800, "node_id": "MDEyOklzc3VlQ29tbWVudDQwNTAyNjgwMA==", "user": {"value": 45057, "label": "russss"}, "created_at": "2018-07-14T14:24:31Z", "updated_at": "2018-07-14T14:24:31Z", "author_association": "CONTRIBUTOR", "body": "I had a quick look at this in relation to #343 and I feel like it might be worth modelling the inspected table metadata internally as an object rather than a dict. (We'd still have to serialise it back to JSON.)\r\n\r\nThere are a few places where we rely on the structure of this metadata dict for various reasons, including in templates (and potentially also in user templates). It would be nice to have a reasonably well defined API for accessing metadata internally so that it's clearer what we're breaking.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 327365110, "label": "inspect should record column types"}, "performed_via_github_app": null}