From efaf4d1c1c4cb4a18145df6b310e193322b683ff Mon Sep 17 00:00:00 2001
From: rimutaka <max@onebro.me>
Date: Tue, 31 May 2022 10:59:39 +1200
Subject: [PATCH] Added impl of IsOutputType for HashSet

---
 juniper/src/types/marker.rs | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/juniper/src/types/marker.rs b/juniper/src/types/marker.rs
index 2dd22789..15dc1810 100644
--- a/juniper/src/types/marker.rs
+++ b/juniper/src/types/marker.rs
@@ -249,6 +249,17 @@ where
     }
 }
 
+impl<S, T> IsOutputType<S> for std::collections::HashSet<T>
+where
+    T: IsOutputType<S>,
+    S: ScalarValue,
+{
+    #[inline]
+    fn mark() {
+        T::mark()
+    }
+}
+
 impl<S, T> IsOutputType<S> for [T]
 where
     T: IsOutputType<S>,