home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 1074156779

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/1675#issuecomment-1074156779 https://api.github.com/repos/simonw/datasette/issues/1675 1074156779 IC_kwDOBm6k_c5ABlTr 9599 2022-03-21T16:55:08Z 2022-03-21T16:56:02Z OWNER One benefit of the current design of `check_permissions` that raises an exception is that the exception includes information on WHICH of the permission checks failed. Returning just `True` or `False` loses that information. I could return an object which evaluates to `False` but also carries extra information? Bit weird, I've never seen anything like that in other Python code. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 1175648453  
Powered by Datasette · Queries took 1.322ms