Tallyb / loopback-graphql

Adding graphql to loopback, based on Apollo Server
MIT License
201 stars 18 forks source link

Fails when there is a complex type in model.json #7

Closed Tallyb closed 7 years ago

Tallyb commented 7 years ago

e.g:

"geometry": {
            "type": {
                "location": {
                    "lat": "number",
                    "lng": "number"
                },
                "viewport": {
                    "northeast": {
                        "lat": "number",
                        "lng": "number"
                    },
                    "southwest": {
                        "lat": "number",
                        "lng": "number"
                    }
                }
            },
            "description": "contains geometry information about the result, generally including the `location` (geocode) of the place and (optionally) the `viewport` identifying its general area of coverage."
        }