Repository: mirumee/ariadne-graphql-modules (language: python)

Issue:
Defined without required GraphQL definition for 'Float' in __requires__ exception
I am not sure if this is intended behavior but isn't `Float` a built-in type of GraphQL that shouldn't require to be passed in as `__requires__` attribute of object type class. Here is my object type definition that is failing:


```python
class UomType(ObjectType):
    __schema__ = gql(
        """
        type UnitOfMeasure {
            id: ID!
            code: Int!
            name: String!
            uomType: String
            factorB: Float
            factorC: Float
            remarks: String
            abbrev: String
        }
        """
    )
```

This fails with error:

`ValueError: UomType class was defined without required GraphQL definition for 'Float' in __requires__`
Defined without required GraphQL definition for 'Float' in __requires__ exception
I am not sure if this is intended behavior but isn't `Float` a built-in type of GraphQL that shouldn't require to be passed in as `__requires__` attribute of object type class. Here is my object type definition that is failing:


```python
class UomType(ObjectType):
    __schema__ = gql(
        """
        type UnitOfMeasure {
            id: ID!
            code: Int!
            name: String!
            uomType: String
            factorB: Float
            factorC: Float
            remarks: String
            abbrev: String
        }
        """
    )
```

This fails with error:

`ValueError: UomType class was defined without required GraphQL definition for 'Float' in __requires__`


Discussion / hints:
Yup, it is! `Float` needs to be added to `GRAPHQL_TYPES = (...)` tuple in `dependencies` module. Would you like to open PR with fix?
Yup, it is! `Float` needs to be added to `GRAPHQL_TYPES = (...)` tuple in `dependencies` module. Would you like to open PR with fix?

Fix patch:
diff --git a/ariadne_graphql_modules/dependencies.py b/ariadne_graphql_modules/dependencies.py
index a099055..f3b436d 100644
--- a/ariadne_graphql_modules/dependencies.py
+++ b/ariadne_graphql_modules/dependencies.py
@@ -17,7 +17,7 @@
 
 from .utils import unwrap_type_node
 
-GRAPHQL_TYPES = ("ID", "Int", "String", "Boolean")
+GRAPHQL_TYPES = ("ID", "Int", "String", "Boolean", "Float")
 
 Dependencies = Tuple[str, ...]
 


Test patch:
diff --git a/tests/test_object_type.py b/tests/test_object_type.py
index 93f9327..3d8f5fe 100644
--- a/tests/test_object_type.py
+++ b/tests/test_object_type.py
@@ -82,6 +82,20 @@ class GroupType(ObjectType):
     assert GroupType.graphql_name == "Group"
 
 
+def test_object_type_accepts_all_builtin_scalar_types():
+    # pylint: disable=unused-variable
+    class FancyObjectType(ObjectType):
+        __schema__ = """
+        type FancyObject {
+            id: ID!
+            someInt: Int!
+            someFloat: Float!
+            someBoolean: Boolean!
+            someString: String!
+        }
+        """
+
+
 def test_object_type_raises_error_when_defined_without_return_type_dependency(snapshot):
     with pytest.raises(ValueError) as err:
         # pylint: disable=unused-variable