3box / 3box-graphql

3box GraphQL Service
9 stars 0 forks source link

Return image value in same shape as from `Box.getProfile` api end pt (or vice versa) #21

Open oznekenzo opened 4 years ago

oznekenzo commented 4 years ago

graphQl endpoint returns image value just as ipfs has, whereas getProfile end point returns in shape:

image: [{
   @type: "ImageObject",
   contentUrl: {
      {
         /: <IPFS hash>
      }
   }
}]

understand it would be a breaking change but as it is now it's not ideal