Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUE-261: Adds ap:tasks title source option #262

Merged
merged 2 commits into from
Mar 27, 2023
Merged

ISSUE-261: Adds ap:tasks title source option #262

merged 2 commits into from
Mar 27, 2023

Conversation

DiegoPino
Copy link
Member

See #261

e.g

{
    "type": "DataSet",
    "label": "Title from metadata",
  "label_spa": "Título desde metadatos",
  "ap:tasks" {
     "ap:entitytitle":  "label_spa"
   }
}

Will yield in an ADO/NODE with title "Título desde metadatos". In case of a wrong JMESPATH expression the original title will be preserved (if existing) or the default label key will be used.

e.g
```JSON
{
    "type": "DataSet",
    "label": "Title from metadata",
  "label_spa": "Título desde metadatos",
  "ap:tasks" {
     "ap:entitytitle":  "label_spa"
   }
}
```
Will yield in an ADO/NODE with title "Título desde metadatos"
In case of a wrong JMESPATH expression the original title will be preserved (if existing) or the default label key will be used.
@DiegoPino DiegoPino added this to the 1.1.0 milestone Mar 27, 2023
@DiegoPino DiegoPino requested a review from aksm March 27, 2023 19:35
@DiegoPino DiegoPino self-assigned this Mar 27, 2023
Copy link
Contributor

@aksm aksm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DiegoPino did some basic testing and looked for any obvious problems, but didn't want to hold things up so kept it light. Glad to review more thoroughly if needed though. Looks great on first pass!

@DiegoPino
Copy link
Member Author

Thanks @aksm ! Really appreciate the speed on this

@DiegoPino DiegoPino merged commit acf4bc9 into 1.1.0 Mar 27, 2023
@DiegoPino DiegoPino deleted the ISSUE-261 branch March 27, 2023 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants