Make Float and Boolean types use GraphQL primitives

It seems the boolean type is BooleanType and the Float type is FloatType. This means code generation tools cannot map these types to native types in a programming language, e,g, Apollo Codegen.

I am not sure why the primitive GraphQL types are not used.

This is still relevant, what is the reason for custom scalars such as BooleanType ?