question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Misspelled key names

See original GitHub issue

Ciao @alexandercerutti!

Thank you for this code.

I discovered a little issue: Apple defines the field dictionary key dataDetectorTypes (plural) as the array of detector names to use (https://developer.apple.com/library/archive/documentation/UserExperience/Reference/PassKit_Bundle/Chapters/FieldDictionary.html#//apple_ref/doc/uid/TP40012026-CH4-SW6).

You define the key as dataDetectorType (singular): https://github.com/alexandercerutti/passkit-generator/blob/e1c46491d6c685fdb4dd8115fb58b37e479e5425/src/schema.ts#L374

I don’t know if your choice is intentional, but I think that it can lead to some confusion (it took me some time to figure it out).

It’s not a big issue, indeed. But even if it’s not going to be fixed (breaking change!), maybe this note can help someone else.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
alexandercerutticommented, Jun 21, 2021

Released in v2.0.7. Thank you very much!

1reaction
alexandercerutticommented, Jun 18, 2021

Hmm, I started with this and I finished refactoring all the Schema system 😂

I guess it might take a bit more time because I have to write more tests to check if it is all okay! I’ve added even more missing SemanticsTags.

Read more comments on GitHub >

github_iconTop Results From Across the Web

100 Most Commonly Misspelled Words | YourDictionary
The list highlights the correct spelling of 100 hard words to spell, along with brief tips on how to avoid making common spelling...
Read more >
How to Optimize for Misspelled Keywords - SEO PowerSuite
1. Check your website logs. This is a great way to find out how people misspell your brand or product names. · 2....
Read more >
Misspelled Keywords and Typographical Errors in Search
From Gogle, Gooogle, to Googel, the search engine's name has been misspelled so many times that there is a considerable amount of traffic...
Read more >
Typographical error - Wikipedia
One may hit two adjacent keys on the keyboard in a single keystroke. An example is "buckled" instead of "bucked", due to the...
Read more >
The 32 most commonly misspelled words that make you look ...
Memorize the correct spelling! 13. led. Common misspelling: lead. This consistently ranks at the top for most misspelled words on resumes. So ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found