Giraffe.ViewEngine.StrongName breaks compatability with Giraffe server
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 25/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- fsharp
- Domaine
- backend
Piste de recherche
Reproduisez l’échec de build signalé avec le Giraffe template, Plotly.Net 4.1.0 ou une version ultérieure, et l’environnement dotnet 8.0.204 décrit. Inspectez les versions des dépendances derrière Components.fs ligne 286 et Program.fs ligne 57 ; c’est terminé lorsque le projet d’exemple se compile sans l’incompatibilité de types entre Giraffe.ViewEngine et Giraffe.ViewEngine.StrongName.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Description
Hey, thanks for you effort in this library, it really is amazing.
I came about an issue with the fork project mentioned here https://github.com/giraffe-fsharp/Giraffe.ViewEngine/issues/23
It is currently not possible to render a chart to json in a giraffe backend via toJson gChart as it was added in version 4.1.0 which doesn't work with giraffe due to a presence of forked Giraffe.ViewEngine.StrongName package
Components.fs(286,9): error FS0001: All elements of a list must be implicitly convertible to the type of the first element, which here is
'Giraffe.ViewEngine.HtmlElements.XmlAttribute (Giraffe.ViewEngine.StrongName, Version=2.0.0.0, Culture=neutral, PublicKeyToken=028aa8e2a326f4d0)'.
This element has type 'Giraffe.ViewEngine.HtmlElements.XmlAttribute (Giraffe.ViewEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)'.
[Components.fsproj::TargetFramework=net8.0]
Repro steps
dotnet new giraffe -o plot
cd plot
dotnet add package Plotly.Net
dotnet build
Expected behavior
Project builds
Actual behavior
/home/a/projects/plot/Program.fs(57,14): error FS0001: This expression was expected to have type 'Giraffe.ViewEngine.HtmlElements.XmlNode (Giraffe.ViewEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)' but here has type 'Giraffe.ViewEngine.HtmlElements.XmlNode (Giraffe.ViewEngine.StrongName, Version=2.0.0.0, Culture=neutral, PublicKeyToken=028aa8e2a326f4d0)' [/home/a/projects/plot/plot.fsproj]
Build FAILED.
Known workarounds
Fork Plotly.Net and revert the change
Related information
- Operating system Linux
- Branch v4.1.0+
- dotnet 8.0.204
- Langage dominant
- F#
- Étoiles
- 860
- Forks
- 99
- Merge moyen
- 22 min
- PR mergées (30 j)
- 1
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de plotly/Plotly.NET
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
plotly/Plotly.NET#498 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 42/100
plotly/Plotly.NET#495 · 3 commentaires ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 45/100
plotly/Plotly.NET#494 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
plotly/Plotly.NET#492 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 38/100
plotly/Plotly.NET#485 · 1 commentaire ·
Toutes les issues de plotly/Plotly.NET
Issues similaires
-
[Bug]: Discord Activity titles with emoji are rejected as over 80 characters when they are not Ouverteclawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:message-loss issue-rating: 🦞 diamond lobster maturity:stable P2
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
growthbook/growthbook#7100 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
punkpeye/mcp-remote#369 ·
-
Client customer-reported needs-team-attention question Service Attention WebPubSub
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Azure/azure-sdk-for-net#63292 · 3 commentaires · 1 réaction ·
-
bug p:3-mid pydanty:bug
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
pydantic/pydantic-ai#8643 · 1 commentaire ·