-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make feedId
required for realtime updaters
#5502
Make feedId
required for realtime updaters
#5502
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #5502 +/- ##
=============================================
- Coverage 66.85% 66.85% -0.01%
+ Complexity 15650 15649 -1
=============================================
Files 1817 1817
Lines 70158 70155 -3
Branches 7379 7379
=============================================
- Hits 46902 46899 -3
Misses 20798 20798
Partials 2458 2458
☔ View full report in Codecov by Sentry. |
feedId
required for realtime updaters
Thanks @leonardehrenfried ! |
This is, BTW, an example of how the code generates the doc, @markstos. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. I noticed that the SiriETGooglePubsubUpdaterConfig
still takes feedId as optional though. Do you want to fix that as well? @leonardehrenfried
I'm not sure if it really is required there. Do you know? |
We're not using it so I'm not sure. From a glance at the code it looks like the updater will crash if it's null because the EntityResolver needs it. |
I think it is unless someone from Entur chimes in. |
Ok. Approving! |
Summary
@markstos has correctly pointed out that the
feedId
is incorrectly documented as optional.This fixes the config schema and docs.
Issue
Closes #5499.