microsoft / microsoft/AdaptiveCards

[AdaptiveCards Templating] [Dot Net library] Backward compatibility of adaptive card template library

Open
#6,193 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Request
Dominant language
C#
Stars
2k
Forks
595
Avg merge
1d 19h
Merged PRs (30d)
1

Description

Feature request

Make the adaptive card template dot net library backward compatible so that templates containing both {} and ${} can be evaluated.

Problem statement

3rd party content is available for search across different canvases (ex: Bing, SharePoint, and Teams).
There is data that has been ingested for making it available for search using the previous versions of the adaptive card template library and it needs to be supported.

Issue faced

As of now, different UX teams (ex: SharePoint UX and Bing UX) are having some independent logic, by parsing the template and making it backward compatible (I guess they are using the java script library). This does not scale as we extend our scope across different clients (ex: Teams).

Hence, we are evaluating an approach to parse the adaptive card template at the server side using dot-net library (so that multiple clients need not be dependent on the backward incompatibility issue)

For this we need the dot-net templating library to be backward compatible.

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.

Research direction

Start by locating the Dot Net templating library and its template parsing and evaluation entry points. Compare how templates using {} and ${} are currently handled, then define compatibility tests for templates containing both forms. Done means the library evaluates previously ingested templates consistently for all clients.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.