Skip to content

Need to import Foundation when using custom scalars with SwiftPM #810

@fassko

Description

@fassko

Here is what I discovered when using SwiftPM instead of Cocoapods and using new build approach.

When using -passthroughCustomScalars generating API.swift need to import Foundation for instance if using Swift Date type.

I could make a PR myself, just I couldn't understand where is the Swift template coming from?

Metadata

Metadata

Assignees

No one assigned

    Labels

    build-issueIssues occurring when attempting to builddependency-managementIssues with CocoaPods, Carthage, or SPM integration

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions