Magic Coder
Magic Coder
My main concern is that each attribute has unique way to be ranked. If we exposed, how are we going to expose ranking logic? Or we can abstract out search...
The ranking param & code are in pair.
@hemachandarv I am trying to not expose how order is calculated to the client. That's to be said, we are planning to make a generic search engine library for developers...
@hemachandarv How about this. Let's expose the API to allow the client to decide what fields we want to be sorted on. If nothing is specified, by default, we sort...
@oatovar Looks great to me! For your information, we may consider combining all operations on urls to a single place. Maybe still keep the separate interfaces. Not sure what to...
@oatovar I think so.
@oatovar I checked the schema. It forces us to provide original URL. Looking forwards for your proposal.
@oatovar It's seems that Facebook officially used only one input type: https://graphql.org/graphql-js/mutations-and-input-types/
@oatovar It's a hard a decision. We can go with 1 input for now and look back in the future.
https://github.com/short-d/short/pull/796/files#r436382369