Title: Don't encode dataclass classes by jcrist · Pull Request #755 · msgspec/msgspec · GitHub
Open Graph Title: Don't encode dataclass classes by jcrist · Pull Request #755 · msgspec/msgspec
X Title: Don't encode dataclass classes by jcrist · Pull Request #755 · msgspec/msgspec
Description: A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML - Don't encode dataclass classes by jcrist · Pull Request #755 · msgspec/msgspec
Open Graph Description: Previously our "is this a dataclass-like thing" check would erroneously pass for dataclass classes as well as their instances. We now properly exclude classes and only encode instances. F...
X Description: Previously our "is this a dataclass-like thing" check would erroneously pass for dataclass classes as well as their instances. We now properly exclude classes and only encode inst...
Opengraph URL: https://github.com/msgspec/msgspec/pull/755
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:f75e9e07-d8e8-9e0f-7c5e-b442b9be048a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BB94:2EEEB5:93883E:C98393:6A4D4B4D |
| html-safe-nonce | 5fd8e8ff1979ee75b86d26bc71bf991627c7a9eb112bd38904fe0bfa184716bd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjk0OjJFRUVCNTo5Mzg4M0U6Qzk4MzkzOjZBNEQ0QjREIiwidmlzaXRvcl9pZCI6Ijc4MjU2MTQxNjY2ODEyNzUyMTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7de2eaa60382ecaa06d26aea010341c3618ebd68b917630b441c4decbf0d4e6f |
| hovercard-subject-tag | pull_request:2134710999 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/voltron/pull_requests/show/msgspec/msgspec/755/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ff06fc676962762c3210b9d95768cc17c603651975f1370c9bb4b3c07c253dc5/msgspec/msgspec/pull/755 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ff06fc676962762c3210b9d95768cc17c603651975f1370c9bb4b3c07c253dc5/msgspec/msgspec/pull/755 |
| og:image:alt | Previously our "is this a dataclass-like thing" check would erroneously pass for dataclass classes as well as their instances. We now properly exclude classes and only encode instances. F... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jcrist |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-cache |
| go-import | github.com/msgspec/msgspec git https://github.com/msgspec/msgspec.git |
| octolytics-dimension-user_id | 287455683 |
| octolytics-dimension-user_login | msgspec |
| octolytics-dimension-repository_id | 332952543 |
| octolytics-dimension-repository_nwo | msgspec/msgspec |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 332952543 |
| octolytics-dimension-repository_network_root_nwo | msgspec/msgspec |
| 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 | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width