Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

What if my encoder/decoder/codec depends on some configuration options, am I forced to manually wire up? #145

Open
Labels
@DamianReeves

Description

@DamianReeves

I have types that must target multiple versions of a target JSON format, and I am wondering if I can use Fleece without being forced to drop down to usingcombinators to manually wire things together.

Lets say I have the following:

typeName= NameofParts:stringlistmemberToJson(options:MorphirJsonFormatOptions)= failwith"TODO: encode using options"andMorphirJsonFormatOptions=| ClassicofVersion:int| NextGenofNextGenVersionOptionsandNextGenVersionOptions={Version:Version; NameEncodingMode:NameEncodingMode}andVersion= VersionofMajor:int*Minor:int*Patch:intandNameEncodingMode=| ArrayStyle| SnakeCasedSymbol

Are there any recommendations how I can still benefit from the SRTP resolution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp