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

Add methods to obtain placeholder names within an expansion #174

Open
4drian3d opened this issue Jan 16, 2024 · 0 comments · May be fixed by #186
Open

Add methods to obtain placeholder names within an expansion #174

4drian3d opened this issue Jan 16, 2024 · 0 comments · May be fixed by #186
Labels
enhancement New feature or request
Milestone

Comments

@4drian3d
Copy link
Member

something like:

final Expansion expansion = Expansion.builder("test")
    .audienceExpansion("audience", (audience, ctx, queue) -> null)
    .build();

final Collection<String> audiencePlaceholdersNames = expansion.audiencePlaceholdersByName();
System.out.println(audiencePlaceholdersNames.get(0));
// "<test_audience>"
  • Expansion#audiencePlaceholdersByName
  • Expansion#relationalPlaceholdersByName
  • Expansion#globalPlaceholdersByName
  • Expansion#audiencePlaceholdersByNameRaw
  • Expansion#relationalPlaceholdersByNameRaw
  • Expansion#globalPlaceholdersByNameRaw
@4drian3d 4drian3d added the enhancement New feature or request label Jan 16, 2024
@4drian3d 4drian3d added this to the 2.3.0 milestone Feb 15, 2024
@powercasgamer powercasgamer linked a pull request Feb 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant