microsoft / microsoft/Power-Fx

will CanPotentiallyCoerceTo align with PVA?

Open
#1,769 1 comment 0 reactions 1 assignee View on GitHub

@nguhoa is already working on this.

Since Aug 17, 2023.

Dominant language
C#
Stars
3.4k
Forks
358
Avg merge
10h 34m
Merged PRs (30d)
3

Description

I am from PVA team and I want to use CanPotentiallyCoerceTo to replace our validation logic. I found that we support the following conversions:

  • Number to Time: via TimeSpan
  • String to Time: via TimeSpan
  • String to Date: via Convert.ToDateTime
  • String to DateTimeNoTimeZone: via Convert.ToDateTime

I already know the 1st is not supported yet via https://github.com/microsoft/Power-Fx/issues/1653

Will we plan to support them in the future? Thanks!

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.