solo-io / sqoop

The GraphQL Engine powered by Gloo
https://sqoop.solo.io
529 stars 42 forks source link

Getting all schemas returns list of concatenated names without spaces sorted alphabetically #4

Open texascloud opened 6 years ago

texascloud commented 6 years ago
alias qc='qlooctl --kubeconfig __MY_CLUSTER__'
~/scratch/qloo » qc schema create -f ./example.graphql paul
schema created successfully
------------------------------------------------------------
~/scratch/qloo » qc schema create -f ./example.graphql blart
schema created successfully
------------------------------------------------------------
~/scratch/qloo » qc schema create -f ./example.graphql mall
schema created successfully
------------------------------------------------------------
~/scratch/qloo » qc schema create -f ./example.graphql cop
schema created successfully
------------------------------------------------------------
~/scratch/qloo » qc schema get
blartcopmallpaul% 

Expected result would be:

blart
cop
mall
paul

or to preserve the order in which they were created:

paul
blart
mall
cop
ilackarms commented 6 years ago

hm, this is an annoying bug. it will take a little time before i have a chance to look at this. thanks for bringing it to our attention; if you feel capable of submitting a PR for this, we'd happily merge it. otherwise, we'll get around to it as soon as we're able.

p.s. nice example :+1: