Feature Request: When the app sets a custom winrt_activation_handler, please provide an easy way to call the default cppwinrt "get activation handler" logic

Open
#1,567 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
45/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
cpp

Research direction

Start by locating the winrt_activation_handler entry point and the existing default cppwinrt activation-handler logic. Define how a custom handler can delegate unrecognized types or errors, then add coverage showing that the default behavior remains available when delegation is requested.

Written by the indexing model from the issue text.

Description

Version

2.0.230706.1

Summary

I'd like to be able to write a custom winrt_activation_handler handler that recognizes specific types, that works great. But I'd also like to be able to call into the default logic in the case I don't recognize the type, hit an error, etc.

Reproducible example

Expected behavior

No response

Actual behavior

No response

Additional comments

No response

Dominant language
C++
Stars
1.9k
Forks
281
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/cppwinrt

All issues in microsoft/cppwinrt

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.