Skip to content
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

With hafas-client@6 and db profile, getting earlier journeys is broken #282

Open
yu-re-ka opened this issue Jan 6, 2023 · 1 comment
Open

Comments

@yu-re-ka
Copy link
Contributor

yu-re-ka commented Jan 6, 2023

earlierRef is always undefined

$ node p/db/example.js | grep earlier
  earlierRef: undefined,

Bisected to 3c17678

@derhuerst
Copy link
Member

That's a shame that using true realtime routing and outCtxScrB (earlierRef) is apparently not possible. 😔

Because both options are valuable, depending on one's use case, I think we should make the routing mode configurable (e.g. a boolean opt.realtimeRouting) and document the trade-off.

PR welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants