pipe-dream / laravel-create

Create Laravel projects really fast
1.31k stars 109 forks source link

Ability to create GraphQL type system #68

Closed calvinchiulele closed 5 years ago

calvinchiulele commented 5 years ago

Hi! Will laravel-create in any future versions support the ability to create a GraphQL type system?

septIO commented 5 years ago

@calvinchiulele If you mean something like name: string, then yes. We're working towards making a simplistic syntax for type definitions. It will only work with scalar type though. Once the next build is stable I'll take a look at implementing the syntax. Take a look at this discussion: https://github.com/pipe-dream/core/issues/6#issuecomment-510885144

If you ask about having

type Car {
    name: String!,
    manufacturer: [Manufacturer!]!
}

Then no. We want the sketch to as simple as possible.

calvinchiulele commented 5 years ago

Ohh! I wasn't referring about scalar type system. But it's ok, we'll do it manually. Thank you!

ajthinking commented 5 years ago

Possibly do a custom file factory overriding how the sketch is interpreted??