Skip to content

Commit 077e9dd

Browse files
committed
Update graphiql to latest to get markdown docs
graphql/graphiql@6398718 fixed rendering field descriptions with markdown. To get this update graphiql-workspace needs to update their version of grqphiql OlegIlyenko/graphiql-workspace#37 Then this repo will need to update graphiql-workspace For now I've forked graphiql-workspace so I could try out the update :-/ https://github.com/mmrobins/graphiql-workspace/tree/update_graphiql_fork But it seems to work :-)
1 parent b02c9b6 commit 077e9dd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/absinthe/plug/graphiql/assets.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ defmodule Absinthe.Plug.GraphiQL.Assets do
3030
{"dist/fonts/glyphicons-halflings-regular.svg", "fonts/glyphicons-halflings-regular.svg"},
3131
{"dist/css/bootstrap.min.css", "css/bootstrap.css"},
3232
]},
33-
{"graphiql", "0.11.10", [
33+
{"graphiql", "0.11.11", [
3434
"graphiql.css",
3535
{"graphiql.min.js", "graphiql.js"},
3636
]},
37-
{"graphiql-workspace", "1.1.4", [
37+
{"@mmrobins/graphiql-workspace", "1.1.5", [
3838
"graphiql-workspace.css",
3939
{"graphiql-workspace.min.js", "graphiql-workspace.js"}
4040
]},

lib/absinthe/plug/graphiql/graphiql_workspace.html.eex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ add "&raw" to the end of the URL within a browser.
1515

1616
<link rel="stylesheet" media="screen" href="<%= assets["bootstrap/css/bootstrap.css"] %>">
1717
<link rel="stylesheet" media="screen" href="<%= assets["graphiql/graphiql.css"] %>">
18-
<link rel="stylesheet" media="screen" href="<%= assets["graphiql-workspace/graphiql-workspace.css"] %>">
18+
<link rel="stylesheet" media="screen" href="<%= assets["@mmrobins/graphiql-workspace/graphiql-workspace.css"] %>">
1919
</head>
2020
<body>
2121
<div id="root" class="graphiql-workspace"></div>
2222
<script src="<%= assets["react/react.js"] %>"></script>
2323
<script src="<%= assets["react-dom/react-dom.js"] %>"></script>
24-
<script src="<%= assets["graphiql-workspace/graphiql-workspace.js"] %>"></script>
24+
<script src="<%= assets["@mmrobins/graphiql-workspace/graphiql-workspace.js"] %>"></script>
2525
<script src="<%= assets["@absinthe/socket-graphiql/socket-graphiql.js"] %>"></script>
2626
<script type="text/javascript">
2727
function absintheSubscriptionsClientBuilder(url, connectionParams) {

0 commit comments

Comments
 (0)