Title: Recommended method for changing Get IQueryable for EF document materializer · Issue #121 · JSONAPIdotNET/JSONAPI.NET · GitHub
Open Graph Title: Recommended method for changing Get IQueryable for EF document materializer · Issue #121 · JSONAPIdotNET/JSONAPI.NET
X Title: Recommended method for changing Get IQueryable for EF document materializer · Issue #121 · JSONAPIdotNET/JSONAPI.NET
Description: Thanks to all that put their efforts into this project. I understand that as per the JSON API we can add filter expressions to the URL and they affect the records returned from get requests. My use case is that I want to filter records r...
Open Graph Description: Thanks to all that put their efforts into this project. I understand that as per the JSON API we can add filter expressions to the URL and they affect the records returned from get requests. My use...
X Description: Thanks to all that put their efforts into this project. I understand that as per the JSON API we can add filter expressions to the URL and they affect the records returned from get requests. My use...
Opengraph URL: https://github.com/JSONAPIdotNET/JSONAPI.NET/issues/121
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Recommended method for changing Get IQueryable for EF document materializer","articleBody":"Thanks to all that put their efforts into this project.\n\nI understand that as per the JSON API we can add filter expressions to the URL and they affect the records returned from get requests.\n\nMy use case is that I want to filter records returned, even without the query expression in the URL. To take my case as an example I have a self referential EF entity that forms a tree.\n\nI want a request to \"/things\" to only return any root nodes, not all nodes in the entire tree.\n\nTo me it appears solution would be to change EntityFrameworkDocumentMaterializer\u003cT\u003e.GetRecords so that it used new property in the IResourceTypeConfiguration interface and optionally included a where clause.\n\nWould this be the way to implement this functionality or would another method be a better fit?\n\nThere was talk of changing of how configuration worked. Has there been any progress in this area or is there a vision for how this could be changed? \n\nAny guidance on how you would envisage this functionality being implemented, or problems with my plan is appreciated and may increase any work I do in my fork being useful to the project in general.\n","author":{"url":"https://github.com/ClintGood","@type":"Person","name":"ClintGood"},"datePublished":"2016-09-11T13:58:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/121/JSONAPI.NET/issues/121"}
| 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:88d7ab55-b904-e5e0-7df0-e9fbe523109f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 80E6:90996:46FCEE0:64D472E:6A500824 |
| html-safe-nonce | 08494821fc50dcfb686924b9a9bdedda90cee9aa444f37decbf1df0a7c7142be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEU2OjkwOTk2OjQ2RkNFRTA6NjRENDcyRTo2QTUwMDgyNCIsInZpc2l0b3JfaWQiOiI4ODA5Mjc1NzYwMzg2NzcwOTgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2c6f4dafdbdd64c66d2dcaaf5aa1a84f90e5677ce2988cc4f7235255864e781f |
| hovercard-subject-tag | issue:176245120 |
| 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/JSONAPIdotNET/JSONAPI.NET/121/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1a933786c3101023f39446683dcbb1c15d998efa6b48929ec47ccb683c553493/JSONAPIdotNET/JSONAPI.NET/issues/121 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1a933786c3101023f39446683dcbb1c15d998efa6b48929ec47ccb683c553493/JSONAPIdotNET/JSONAPI.NET/issues/121 |
| og:image:alt | Thanks to all that put their efforts into this project. I understand that as per the JSON API we can add filter expressions to the URL and they affect the records returned from get requests. My use... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ClintGood |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56eec25a3430492dd6ec2a480eb33256a0da5192d5714b0db4f5ab5f33203d94 |
| turbo-cache-control | no-preview |
| go-import | github.com/JSONAPIdotNET/JSONAPI.NET git https://github.com/JSONAPIdotNET/JSONAPI.NET.git |
| octolytics-dimension-user_id | 16112275 |
| octolytics-dimension-user_login | JSONAPIdotNET |
| octolytics-dimension-repository_id | 27474358 |
| octolytics-dimension-repository_nwo | JSONAPIdotNET/JSONAPI.NET |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27474358 |
| octolytics-dimension-repository_network_root_nwo | JSONAPIdotNET/JSONAPI.NET |
| 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 | 93a615b89b7dcbdb6b678f4772931ecc28ada82a |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width