LinqToQuerystring icon indicating copy to clipboard operation
LinqToQuerystring copied to clipboard

negotiationFormatter is null when LinqToQuerystring returns a Dictionary

Open qwertoyo opened this issue 12 years ago • 2 comments

Hi @Roysvork , and thanks for your work.

I'm not sure this is a issue of your package or in my configuration, let's see: I have a js component which uses "advanced" OData features that are not supported directly on webApi 2, so your component was a nice discovery.

I currently have a problem that I can't solve at the moment: when the LinqToQuerystring method called at line 35 in LinqToQueryableAttribute.cs returns a Dictionary<String, Object>, the conneg.Negotiate @ line 47 always returns null (and then 500).

Is some kind of bug or (prolly) I just need to extend/add some serializer in the configuration.Formatters?

Thanks, Antonio

qwertoyo avatar Jul 08 '14 14:07 qwertoyo

Hey @qwertoyo, good to hear you've found a use for the library :)

On the surface of things it does sound like this may be an issue with your configuration but I can't say for sure. Could you perhaps create a small project on github that reproduces the issues so I can take a look for you?

beyond-code-github avatar Jul 10 '14 21:07 beyond-code-github

Closing for now, happy to reopen if we receive a reproduction.

beyond-code-github avatar Jan 06 '15 12:01 beyond-code-github