René's URL Explorer Experiment


Title: Create webapi action filter for filtering IQueryables by csantero · Pull Request #16 · JSONAPIdotNET/JSONAPI.NET · GitHub

Open Graph Title: Create webapi action filter for filtering IQueryables by csantero · Pull Request #16 · JSONAPIdotNET/JSONAPI.NET

X Title: Create webapi action filter for filtering IQueryables by csantero · Pull Request #16 · JSONAPIdotNET/JSONAPI.NET

Description: This adds a new action filter called JsonApiQueryableActionFilterAttribute that can be inserted into the WebAPI pipeline. It detects if the object content is an IQueryable<>. If it is, the filter performs exact-match filtering according to the json-api spec. Filtering is supported for the following types: String Boolean SByte Byte Int16 UInt16 Int32 UInt32 Int64 UInt64 Single Double Decimal DateTime DateTimeOffset Enum as well as their nullable counterparts. There is not yet support for linked IDs. A few notes on the behavior: If multiple filter parameters are passed, they will be ANDed together. So GET /people?firstName=John&lastName=Doe will yield all people whose first name is John AND last name is Doe. If multiple values are passed for the same field, like GET /people?firstName=John&firstName=Bill, the behavior is undefined. If a parameter is passed for a property that does not exist, it will be ignored. If a parameter is passed for a property of a type that is unsupported, it will be ignored. I went back on forth on whether this should remove all results or leave the query unchanged. I went with the latter approach, but I don't have a strong opinion on it. Eventually we could provide an extensibility point to let the user specify their own filtering mechanism for unsupported types. An empty string for a nullable type is interpreted as null. An empty string for a non-nullable type is interpreted as an invalid filter and will return no results. In the same vein as the previous point, we could instead choose to just ignore the filter.

Open Graph Description: This adds a new action filter called JsonApiQueryableActionFilterAttribute that can be inserted into the WebAPI pipeline. It detects if the object content is an IQueryable<>. If it is, the fi...

X Description: This adds a new action filter called JsonApiQueryableActionFilterAttribute that can be inserted into the WebAPI pipeline. It detects if the object content is an IQueryable&lt;&gt;. If it is...

Opengraph URL: https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:35fdbb59-c3da-4888-1ff3-f70fd833c6cf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idACA4:2AE5C2:CDB80D:1297FF4:6A54A958
html-safe-noncee40706f9b9b2526850e5fd5c69f8ef53f0935625335d5581be79088ff7df70b8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0E0OjJBRTVDMjpDREI4MEQ6MTI5N0ZGNDo2QTU0QTk1OCIsInZpc2l0b3JfaWQiOiI1NjE5NDM1MDQ4OTM4MDIzMjU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2aaa0552d2de5a70e7e6678a9ebed3fb70f57d438b2cb9381c093bd1658ab812
hovercard-subject-tagpull_request:27733756
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files
twitter:imagehttps://avatars.githubusercontent.com/u/828286?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/828286?s=400&v=4
og:image:altThis adds a new action filter called JsonApiQueryableActionFilterAttribute that can be inserted into the WebAPI pipeline. It detects if the object content is an IQueryable<>. If it is, the fi...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/JSONAPIdotNET/JSONAPI.NET git https://github.com/JSONAPIdotNET/JSONAPI.NET.git
octolytics-dimension-user_id16112275
octolytics-dimension-user_loginJSONAPIdotNET
octolytics-dimension-repository_id27474358
octolytics-dimension-repository_nwoJSONAPIdotNET/JSONAPI.NET
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27474358
octolytics-dimension-repository_network_root_nwoJSONAPIdotNET/JSONAPI.NET
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef8cfff6384f62259baea531c7f58bc7040f8dd92
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSONAPIdotNET%2FJSONAPI.NET%2Fpull%2F16%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSONAPIdotNET%2FJSONAPI.NET%2Fpull%2F16%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=JSONAPIdotNET%2FJSONAPI.NET
Reloadhttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files
Reloadhttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files
Reloadhttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files
Please reload this pagehttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files
JSONAPIdotNET https://github.com/JSONAPIdotNET
JSONAPI.NEThttps://github.com/JSONAPIdotNET/JSONAPI.NET
Notifications https://github.com/login?return_to=%2FJSONAPIdotNET%2FJSONAPI.NET
Fork 23 https://github.com/login?return_to=%2FJSONAPIdotNET%2FJSONAPI.NET
Star 101 https://github.com/login?return_to=%2FJSONAPIdotNET%2FJSONAPI.NET
Code https://github.com/JSONAPIdotNET/JSONAPI.NET
Issues 28 https://github.com/JSONAPIdotNET/JSONAPI.NET/issues
Pull requests 5 https://github.com/JSONAPIdotNET/JSONAPI.NET/pulls
Actions https://github.com/JSONAPIdotNET/JSONAPI.NET/actions
Projects https://github.com/JSONAPIdotNET/JSONAPI.NET/projects
Wiki https://github.com/JSONAPIdotNET/JSONAPI.NET/wiki
Security and quality 0 https://github.com/JSONAPIdotNET/JSONAPI.NET/security
Insights https://github.com/JSONAPIdotNET/JSONAPI.NET/pulse
Code https://github.com/JSONAPIdotNET/JSONAPI.NET
Issues https://github.com/JSONAPIdotNET/JSONAPI.NET/issues
Pull requests https://github.com/JSONAPIdotNET/JSONAPI.NET/pulls
Actions https://github.com/JSONAPIdotNET/JSONAPI.NET/actions
Projects https://github.com/JSONAPIdotNET/JSONAPI.NET/projects
Wiki https://github.com/JSONAPIdotNET/JSONAPI.NET/wiki
Security and quality https://github.com/JSONAPIdotNET/JSONAPI.NET/security
Insights https://github.com/JSONAPIdotNET/JSONAPI.NET/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FJSONAPIdotNET%2FJSONAPI.NET%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FJSONAPIdotNET%2FJSONAPI.NET%2Fissues%2Fnew%2Fchoose
SphtKrhttps://github.com/SphtKr
JSONAPIdotNET:masterhttps://github.com/JSONAPIdotNET/JSONAPI.NET/tree/master
csantero:queryable-action-filterhttps://github.com/csantero/JSONAPI.NET/tree/queryable-action-filter
Conversation 11 https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16
Commits 1 https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/commits
Checks 0 https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/checks
Files changed https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files
Please reload this pagehttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files
Create webapi action filter for filtering IQueryables https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files#top
Show all changes 1 commit https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files
5de86dc Create webapi action filter for filtering IQueryables Jan 21, 2015 https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/commits/5de86dc501b4ca9791ff071ac73484c2a8967893
Clear filters https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files
Please reload this pagehttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files
Please reload this pagehttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files
EnableFilteringAttributeTests.cs https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files#diff-73207cf397a732dd2b7e5f8f0d3fc768598754d78d527aaf79ef66e85defc019
JSONAPI.Tests.csproj https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files#diff-31c7be3a28f798a1984ea0917f29ac7507c1383fd49a7223b9d61befc1ca766a
EnableFilteringAttribute.cs https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files#diff-641eaf61de0e7dc813187a6d50880f55b5a3bce2c692fe5f4d5dc3aa595090cc
JSONAPI.csproj https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files#diff-244a53f21c498bc02f224a4064b7a0a88783ef6f5472ecd141d7d6f3299a18d7
Please reload this pagehttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/16/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.