Title: Resolve full paths of referenced types to avoid clashes · Issue #101 · onyxframework/sql · GitHub
Open Graph Title: Resolve full paths of referenced types to avoid clashes · Issue #101 · onyxframework/sql
X Title: Resolve full paths of referenced types to avoid clashes · Issue #101 · onyxframework/sql
Description: internal_params << T.db_values(type: value.as(Model::Handled::ObjectType))[0] undefined constant Model::Handled::ObjectType That's because Handled is looked up within Onyx::SQL::Model. Should be prepended with ::.
Open Graph Description: internal_params << T.db_values(type: value.as(Model::Handled::ObjectType))[0] undefined constant Model::Handled::ObjectType That's because Handled is looked up within Onyx::SQL::Model. Should be pr...
X Description: internal_params << T.db_values(type: value.as(Model::Handled::ObjectType))[0] undefined constant Model::Handled::ObjectType That's because Handled is looked up within Onyx::SQL::Model. Sh...
Opengraph URL: https://github.com/onyxframework/sql/issues/101
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Resolve full paths of referenced types to avoid clashes","articleBody":"```crystal\r\ninternal_params \u003c\u003c T.db_values(type: value.as(Model::Handled::ObjectType))[0]\r\n```\r\n\r\n```\r\nundefined constant Model::Handled::ObjectType\r\n```\r\n\r\nThat's because `Handled` is looked up within `Onyx::SQL::Model`. Should be prepended with `::`.","author":{"url":"https://github.com/vladfaust","@type":"Person","name":"vladfaust"},"datePublished":"2019-05-09T20:40:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/101/sql/issues/101"}
| 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:5ea1efc0-211f-eff6-5967-2e6464ae270c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 98C4:638CE:3AAFFD:4AEA84:697FFA10 |
| html-safe-nonce | 3604a1dff483efe1f78f9e32a9bc6571e1ae9cad29bc1a90769d99c0a1e47596 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEM0OjYzOENFOjNBQUZGRDo0QUVBODQ6Njk3RkZBMTAiLCJ2aXNpdG9yX2lkIjoiMTYxNDAxOTk5OTc1MDQyMTAwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 40e0d7cf887696d992ac33f5f03e9f07a6414a60632394a831752d77d2ee6d4f |
| hovercard-subject-tag | issue:442423399 |
| 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/onyxframework/sql/101/issue_layout |
| twitter:image | https://opengraph.githubassets.com/696123e8cd3df8c8cd6cc336794262708e596c27ea0be9513c3cbe8b2fc1a4d3/onyxframework/sql/issues/101 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/696123e8cd3df8c8cd6cc336794262708e596c27ea0be9513c3cbe8b2fc1a4d3/onyxframework/sql/issues/101 |
| og:image:alt | internal_params << T.db_values(type: value.as(Model::Handled::ObjectType))[0] undefined constant Model::Handled::ObjectType That's because Handled is looked up within Onyx::SQL::Model. Should be pr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vladfaust |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/onyxframework/sql git https://github.com/onyxframework/sql.git |
| octolytics-dimension-user_id | 43681765 |
| octolytics-dimension-user_login | onyxframework |
| octolytics-dimension-repository_id | 104816583 |
| octolytics-dimension-repository_nwo | onyxframework/sql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 104816583 |
| octolytics-dimension-repository_network_root_nwo | onyxframework/sql |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width