Allow JSON() serialization on custom RecordTypes
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start in src/libraries/Microsoft.PowerFx.Core/Texl/Builtins/Json.cs around line 114 and reproduce the failure with JSON(First(incident)), where incident is a custom derived RecordType. Trace why the argument is reported as ErrJSONArg1UnsupportedType. Done means JSON() accepts this RecordType instead of producing that error.
Written by the indexing model from the issue text.
Description
JSON(First(incident)) fails
where incident is a custom derived RecordType.
ErrJSONArg1UnsupportedType
Appear to fail here:
https://github.com/microsoft/Power-Fx/blob/930ca694c5017eb410987510710246e49b84244e/src/libraries/Microsoft.PowerFx.Core/Texl/Builtins/Json.cs#L114
- Dominant language
- C#
- Stars
- 3.4k
- Forks
- 358
- Avg merge
- 10h 34m
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/Power-Fx
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 5/5 Over a week Newbie friendliness 32/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
All issues in microsoft/Power-Fx
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100