0

getting a question returns among other things an array of tag names, it would be better if it return a whole tag "object" in other words: the count and fulfills_required (okay maybe not the fulfills required) as well. Seeing as theres a max 5 tags, it wouldnt add to much

1
  • Sky has anticipated my reasoning, more or less. Oct 18, 2010 at 21:59

1 Answer 1

2

Normally, I am the one arguing for more data but in this case I will anticipate (and agree with) Kevin's likely response:

The tag meta is not relevant to a question and inclusion of tag meta would be a significant increase in response data as well as requiring an additional join into the tag table increasing the execution cost of generating the response.

All to support an unknown use case.

This is certainly a non-starter.

If you have a case where you would like to display tag meta, simply pull them.

My opinion only.

8
  • well it would be easier if tags had IDs, rather than having to use the filter parameter then having to go through all the results to find the exact match of the tag name as the filter returns what contains the parameter. This wastes time on my side. At least if there's some way of getting the exact tag like a "page" tags/{tagname} then there wouldn't be any need for this. How do you, Sky, get a tag from the question?
    – Jonathan.
    Oct 17, 2010 at 19:09
  • @jon - i have not yet seen a need for more 'tag' information with regards to a question other than the tag name, which I use to display. Can you present a use case for the need of tag meta which we could refer to. Discussing an unknown use case is an exercise in futility. Oct 17, 2010 at 19:44
  • Well there's not really a need for it, just I need to put a popup of the tag and I though I might as well put the count in it.
    – Jonathan.
    Oct 17, 2010 at 19:49
  • @jon - from a pragmatic perspective, is there true value in providing tag meta in the context you describe? Oct 18, 2010 at 7:14
  • Not really as I said but why exactly is the tag count there's not a lot/anything you can do with it.
    – Jonathan.
    Oct 18, 2010 at 15:16
  • @Jon - so let's look at this from the outside. Someone requests significant backend coding that will require regression testing, server resources and increase bandwidth usage for a trivial (generous characterization) use case. You can see where I am going with this. Not trying to shut you down, just giving a reality check. Oct 18, 2010 at 19:27
  • Yes I realize that (after asking)
    – Jonathan.
    Oct 18, 2010 at 19:33
  • @jon - ;-) mission accomplished. Oct 18, 2010 at 21:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .