Skip to content

Commit 03fadb3

Browse files
committed
Fix non-serialized reference value
1 parent 5b759df commit 03fadb3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Editor/GraphApiEditor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public override void OnInspectorGUI(){
3232

3333
EditorGUILayout.Space();
3434
EditorGUILayout.Space();
35-
graph.AuthMiddleware = (RequestAuthMiddleware)EditorGUILayout.ObjectField("Auth Token Provider", graph.AuthMiddleware, typeof(RequestAuthMiddleware), false);
35+
graph.AuthMiddleware = (RequestAuthMiddleware)EditorGUILayout.ObjectField("Auth Middleware", graph.AuthMiddleware, typeof(RequestAuthMiddleware), false);
3636
graph.url = EditorGUILayout.TextField("Url", graph.url);
3737
if (GUILayout.Button("Introspect")){
3838
graph.Introspect();

Runtime/Core/GraphApi.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public class GraphApi : ScriptableObject
2828

2929
public Introspection.SchemaClass schemaClass;
3030

31+
[SerializeField]
3132
private string authMiddlewareGuid;
3233
public RequestAuthMiddleware AuthMiddleware
3334
{

0 commit comments

Comments
 (0)