Skip to content

Tech debt: Review the name of the method extract_data_from_envelope in JMESPath Functions #4218

Closed

Description

@leandrodamascena

Why is this needed?

The extract_data_from_envelope method name seems strange for customers to understand what it is for. We now have the opportunity to deprecate this method, add a warning, and create a new one.

Which area does this relate to?

JMESPath functions

Suggestion

Deprectaed this method.

Acknowledgment

Activity

  1. added
    v3Features that will be included in Powertools v3.
    and removed
    triagePending triage from maintainers
    on Apr 26, 2024
  2. dreamorosi commented on May 7, 2024

    @dreamorosi
    Contributor

    We just added this method in the TypeScript repo a few weeks ago.

    Do we have any anecdotes for deprecating this and how we can improve?

    I'm not necessarily challenging the idea, I'm more interested in how we can disambiguate it and make it clearer.

  3. leandrodamascena commented on May 31, 2024

    @leandrodamascena
    ContributorAuthor

    Hello @dreamorosi! I don't have enough anecdotes about this. @heitorlessa may have more context about the reasons behind this change and any customer feedback received.
    Regardless, we do not plan to remove this method entirely. Instead, we will add a deprecation warning and remove it in the V4 release. As for the new method name, we believe query would be a good name, as it better conveys the idea of retrieving data, and the query name is more commonly used across similar concepts of data querying.

  4. leandrodamascena commented on Aug 7, 2024

    @leandrodamascena
    ContributorAuthor

    Closed via #4907

  5. github-actions commented on Aug 7, 2024

    @github-actions
    Contributor

    ⚠️COMMENT VISIBILITY WARNING⚠️

    This issue is now closed. Please be mindful that future comments are hard for our team to see.

    If you need more assistance, please either tag a team member or open a new issue that references this one.

    If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomershelp wantedCould use a second pair of eyes/handsjmespathJMESPath Functions utilitytech-debtTechnical Debt tasksv3Features that will be included in Powertools v3.

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions