Title: How to use unassert? · Issue #10 · unassert-js/unassert · GitHub
Open Graph Title: How to use unassert? · Issue #10 · unassert-js/unassert
X Title: How to use unassert? · Issue #10 · unassert-js/unassert
Description: I'm already planning for quite some time to practice to code with assertions to later use unassert to get rid of them. Currently I imagine, that in an ideal scenario, i want to remove all uses assert but maybe not the ones that are expos...
Open Graph Description: I'm already planning for quite some time to practice to code with assertions to later use unassert to get rid of them. Currently I imagine, that in an ideal scenario, i want to remove all uses asse...
X Description: I'm already planning for quite some time to practice to code with assertions to later use unassert to get rid of them. Currently I imagine, that in an ideal scenario, i want to remove all uses ...
Opengraph URL: https://github.com/unassert-js/unassert/issues/10
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to use unassert?","articleBody":"I'm already planning for quite some time to practice to code with assertions to later use unassert to get rid of them.\r\n\r\n\r\nCurrently I imagine, that in an ideal scenario, i want to remove all uses `assert` but maybe not the ones that are exposes as an API to users. Given valid inputs to whatever the API is, all internal libraries should work correctly, because of assert, but given incorrect API inputs, things might break when asserts are removed.\r\nBut then again - even if only a single assert remains, it will pull in assert as a dependency, which is not really desirable when using the result in the browser.\r\n\r\nIs that correct?\r\n\r\nCan you recommend some tutorials/howtos and/or nice examples how to get started?\r\n\r\n","author":{"url":"https://github.com/serapath","@type":"Person","name":"serapath"},"datePublished":"2017-01-18T20:41:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/10/unassert/issues/10"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:926db585-e385-5e1c-aeeb-38a23222a8b0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC22:287BC8:2F115B8:3F6EE78:6970613D |
| html-safe-nonce | 57ca341b3d78a40b56322d501d7a6fa33db87f589e56a98d31359a5ee9a40ca8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzIyOjI4N0JDODoyRjExNUI4OjNGNkVFNzg6Njk3MDYxM0QiLCJ2aXNpdG9yX2lkIjoiNzA4NTkwNTAyNzQ1MjEzMzY5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 124f8161cb9ce61c976647302a1cb4d83419582460dbd6c1fd59dfaee6ade413 |
| hovercard-subject-tag | issue:201686639 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/unassert-js/unassert/10/issue_layout |
| twitter:image | https://opengraph.githubassets.com/55920943d8631a44044d5bcbd6af9c0844b7094bfbe8e39f8b2c8fc4aca64038/unassert-js/unassert/issues/10 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/55920943d8631a44044d5bcbd6af9c0844b7094bfbe8e39f8b2c8fc4aca64038/unassert-js/unassert/issues/10 |
| og:image:alt | I'm already planning for quite some time to practice to code with assertions to later use unassert to get rid of them. Currently I imagine, that in an ideal scenario, i want to remove all uses asse... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | serapath |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/unassert-js/unassert git https://github.com/unassert-js/unassert.git |
| octolytics-dimension-user_id | 24517653 |
| octolytics-dimension-user_login | unassert-js |
| octolytics-dimension-repository_id | 36333911 |
| octolytics-dimension-repository_nwo | unassert-js/unassert |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36333911 |
| octolytics-dimension-repository_network_root_nwo | unassert-js/unassert |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width