-
Notifications
You must be signed in to change notification settings - Fork 55
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
DXCDT-548: Serve prompt data on demand #868
DXCDT-548: Serve prompt data on demand #868
Conversation
var promptToFetch promptData | ||
if err := json.Unmarshal(message.Payload, &promptToFetch); err != nil { | ||
h.display.Errorf("failed to unmarshal %q payload: %v", message.Type, err) | ||
continue |
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.
For now opting not to close the connection, but this will most likely be subject to change when we start integrating with the web app in a closer manner.
78f61bd
to
071b5c2
Compare
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/auth0-universal-login-customize #868 +/- ##
==========================================================================
Coverage ? 73.00%
==========================================================================
Files ? 93
Lines ? 12185
Branches ? 0
==========================================================================
Hits ? 8896
Misses ? 2771
Partials ? 518 ☔ View full report in Codecov by Sentry. |
871ad3b
into
feature/auth0-universal-login-customize
🔧 Changes
In this PR we accept websocket messages sent from the web app to fetch prompt data and serve it back with defaults in, if custom text is not set on them.
📚 References
🔬 Testing
More e2e tests will follow in future PRs.
📝 Checklist