René's URL Explorer Experiment


Title: @attr boolean/number setter function called with an empty string (v2-beta) · Issue #295 · github/catalyst · GitHub

Open Graph Title: @attr boolean/number setter function called with an empty string (v2-beta) · Issue #295 · github/catalyst

X Title: @attr boolean/number setter function called with an empty string (v2-beta) · Issue #295 · github/catalyst

Description: This is maybe related to #117, but not 100% sure on that. With a component defined like this: import { controller, attr } from '@github/catalyst' @controller class TestComponentElement extends HTMLElement { @attr get booleanProp() { retu...

Open Graph Description: This is maybe related to #117, but not 100% sure on that. With a component defined like this: import { controller, attr } from '@github/catalyst' @controller class TestComponentElement extends HTML...

X Description: This is maybe related to #117, but not 100% sure on that. With a component defined like this: import { controller, attr } from '@github/catalyst' @controller class TestComponentElement exte...

Opengraph URL: https://github.com/github/catalyst/issues/295

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@attr boolean/number setter function called with an empty string (v2-beta)","articleBody":"This is maybe related to #117, but not 100% sure on that.\r\n\r\nWith a component defined like this:\r\n\r\n```typescript\r\nimport { controller, attr } from '@github/catalyst'\r\n\r\n@controller\r\nclass TestComponentElement extends HTMLElement {\r\n\r\n  @attr get booleanProp() {\r\n    return false\r\n  }\r\n  set booleanProp( _v: boolean ) {\r\n    console.dir( `booleanProp type: ${ typeof _v }` )\r\n    console.dir( `booleanProp value: '${ _v }'` )\r\n  }\r\n\r\n  connectedCallback() {\r\n    this.booleanProp = true\r\n  }\r\n\r\n}\r\n```\r\n\r\nand html like this (note the lack of an initial `boolean-prop` value):\r\n\r\n```html\r\n\u003ctest-component\u003e\u003c/test-component\u003e\r\n```\r\n\r\nI get these log messages:\r\n```\r\nbooleanProp type: boolean\r\nbooleanProp value: 'true'\r\nbooleanProp type: string\r\nbooleanProp value: ''\r\n```\r\n\r\nChanging the html to include an initial value like this:\r\n\r\n```html\r\n\u003ctest-component boolean-prop='anything'\u003e\u003c/test-component\u003e\r\n```\r\n\r\nget's rid of that final empty string call:\r\n\r\n```\r\nbooleanProp type: boolean\r\nbooleanProp value: 'true'\r\n```\r\n\r\nMaybe this is a limitation? Hopefully this isn't another ghost bug, sorry about the last one 🫣\r\n","author":{"url":"https://github.com/ryecroft","@type":"Person","name":"ryecroft"},"datePublished":"2022-10-30T11:11:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/295/catalyst/issues/295"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4818ad32-acac-619f-1ae4-6c2dac226209
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8F18:1793BD:4F967:6C1F0:6A627DAA
html-safe-nonce784a1685f952846abe20b0043529bba689cbf0996d737ed9109d9f4fc78f3d10
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjE4OjE3OTNCRDo0Rjk2Nzo2QzFGMDo2QTYyN0RBQSIsInZpc2l0b3JfaWQiOiI3Nzk1OTkwODYyNDE0MTE4MzE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbf8236104f21b5a787407b555e9f0b42fc4b5403430c9da9039d249e1d6a3dcd
hovercard-subject-tagissue:1428735812
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/catalyst/295/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9ccda8d5b4a6b040ffa1ae543988a815233c9c12993c9ea477d7f84902b8c7ba/github/catalyst/issues/295
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9ccda8d5b4a6b040ffa1ae543988a815233c9c12993c9ea477d7f84902b8c7ba/github/catalyst/issues/295
og:image:altThis is maybe related to #117, but not 100% sure on that. With a component defined like this: import { controller, attr } from '@github/catalyst' @controller class TestComponentElement extends HTML...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameryecroft
hostnamegithub.com
expected-hostnamegithub.com
None54d77223ecd96549586d00f1e91ee7d05feebf27ea430279a9c4ba4b7de1a93c
turbo-cache-controlno-preview
go-importgithub.com/github/catalyst git https://github.com/github/catalyst.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id240087376
octolytics-dimension-repository_nwogithub/catalyst
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id240087376
octolytics-dimension-repository_network_root_nwogithub/catalyst
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4d79f1b99472a521fc5fb66e9fdc3ce742937dff
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/catalyst/issues/295#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcatalyst%2Fissues%2F295
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2Fgithub%2Fcatalyst%2Fissues%2F295
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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fcatalyst
Reloadhttps://github.com/github/catalyst/issues/295
Reloadhttps://github.com/github/catalyst/issues/295
Reloadhttps://github.com/github/catalyst/issues/295
Please reload this pagehttps://github.com/github/catalyst/issues/295
github https://github.com/github
catalysthttps://github.com/github/catalyst
Notifications https://github.com/login?return_to=%2Fgithub%2Fcatalyst
Fork 57 https://github.com/login?return_to=%2Fgithub%2Fcatalyst
Star 1.4k https://github.com/login?return_to=%2Fgithub%2Fcatalyst
Code https://github.com/github/catalyst
Issues 18 https://github.com/github/catalyst/issues
Pull requests 4 https://github.com/github/catalyst/pulls
Discussions https://github.com/github/catalyst/discussions
Actions https://github.com/github/catalyst/actions
Models https://github.com/github/catalyst/models
Security and quality 0 https://github.com/github/catalyst/security
Insights https://github.com/github/catalyst/pulse
Code https://github.com/github/catalyst
Issues https://github.com/github/catalyst/issues
Pull requests https://github.com/github/catalyst/pulls
Discussions https://github.com/github/catalyst/discussions
Actions https://github.com/github/catalyst/actions
Models https://github.com/github/catalyst/models
Security and quality https://github.com/github/catalyst/security
Insights https://github.com/github/catalyst/pulse
@attr boolean/number setter function called with an empty string (v2-beta)https://github.com/github/catalyst/issues/295#top
https://github.com/ryecroft
ryecrofthttps://github.com/ryecroft
on Oct 30, 2022https://github.com/github/catalyst/issues/295#issue-1428735812
#117https://github.com/github/catalyst/issues/117
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.