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

Providing a type that isn't mapped in connectContentTypeMap sends empty appMode #2542

Open
dotNomad opened this issue Jan 21, 2025 · 0 comments

Comments

@dotNomad
Copy link
Collaborator

As we learned in #2476 (comment) when providing a type in the Configuration file that isn't in connectContentTypeMap the manifest sent to Connect provides "" (as it is the UnknownMode).

In an effort to better support Publisher working when Connect updates without code changes the appMode should be sent using the provided type string in the Configuration file rather than falling back to "" if it is unrecognized.

Reference:

var connectContentTypeMap = map[config.ContentType]AppMode{

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

No branches or pull requests

1 participant