Coder Social home page Coder Social logo

Comments (3)

appellation avatar appellation commented on July 21, 2024

We expect that autocomplete results should necessarily be locale-aware in order to provide meaningful results and therefore apps should be preferring to return results in the interaction locale anyway. Therefore we'll keep tracking this as a wishlist fix, but generally you should be able to use the workaround to cover this functionality. Is there a specific use-case that you're trying to solve for here?

from discord-api-docs.

Jiralite avatar Jiralite commented on July 21, 2024

I do not have a specific use case for wanting this behaviour other than for consistency. I just wanted to point out that the API specification and the documentation state these fields should work when they do not, hence the bug report.

Although not common, it does cause the odd one here and there to ask why their responses are not localised.

from discord-api-docs.

advaith1 avatar advaith1 commented on July 21, 2024

I was surprised by #4721 classifying this as a bug - IMO this should just be considered the intended behavior and documentation should reflect that. If you already know what the locale is, then returning data in multiple locales just results in larger payloads for no reason.

from discord-api-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.