Skip to content

Support representing arrays as F# lists #116

@adamjones1

Description

@adamjones1

At the moment OpenApi arrays are represented as .Net arrays in the generated types. Is there any chance there could be a flag added to optionally use F# lists instead? Obviously arrays are best for C# interop but if you're only consuming from F# then lists have the benefits of being non-nullable, immutable, O(1)-append etc. Generally they're more idiomatic in F# so if your client app uses lists ubiquitously for collections then you don't have to add glue code around the generated types to convert back and forth all the time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions