spacecloud-io / space-cloud

Open source Firebase + Heroku to develop, scale and secure serverless apps on Kubernetes
https://space-cloud.io
Apache License 2.0
3.95k stars 222 forks source link

[Bug] Unable to initialise space cloud when no source for graphql module is provided #1640

Closed shubham4443 closed 1 year ago

shubham4443 commented 1 year ago

Describe the bug

Not able to initialise space-cloud with empty config. For example starting the space-cloud with file adapter having no configs in sc-config folder or with k8s adapter having no resources in the cluster.

Expected behavior

space-cloud should start with empty config.

Steps to reproduce

Start spacecloud without any config.

Your environment

If this bug restricts your use of space-cloud, give it a thumbs up reaction, so that we can determine which bugs need to be fixed immediately. 👍

YourTechBud commented 1 year ago

The issue is with the GraphQL provider

YourTechBud commented 1 year ago

We should add a custom field for exposing stats about SpaceCloud (for e.g. SC version)

{
  sc_buildInfo {
    version
  }
}
prithvi081099 commented 1 year ago

Can I do this task?

YourTechBud commented 1 year ago

Sure