[C#] Plotly.NET.CSharp Roadmap
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- F#
- Estrellas
- 860
- Forks
- 99
- Merge medio
- 22 min
- PR fusionados (30 d)
- 1
Descripción
This issue tracks the roadmap for the native C# package Plotly.NET.CSharp
Plans on how to design and develop the C# API have been laid out and tracked in #285 and #322.
The general roadmap implementation-wise is the following:
- 1. C# bindings for the high-level Chart construction API (#296), one binding per chart at first (no overloads)
- 2. C# GenericChart Extension methods (this covers more or less all styling functions). Once these are finished, the F# extension methods for fluent interface can be removed.
- 3. C# bindings for Object abstractions (TraceObjects, LayoutObjects, etc.) this might be a bit tricky
Progress on this side has been made on the 'csharp-object-bindings' branch. In short, all these bindings can be auto-generated by using reflection on the F# objects. Might be worth to look into C# source generators
The way to go for the future is clearly code generation. The F# core API could in theory also created from the plotly.js JSON schema, but has many features that would be hard to automate such as type safety for enums etc.
To prevent having to namually maintain 2 code bases though, we should at least try to auto-generate the C# API based on the F# API, over which we have full control.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza leyendo los elementos de la hoja de ruta y las discusiones de diseño previas en #285 y #322. Inspecciona la rama csharp-object-bindings, especialmente src/Plotly.NET.Codegen, y evalúa el enfoque propuesto para la generación de código; la hoja de ruta estará completa cuando se hayan implementado las extensiones de C# y los enlaces de objetos restantes sin mantener manualmente una segunda API.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp, fsharp
- Área
- tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100