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

Expected behavior when document requests a non-existent parameter? #10

Open
DamianMehers opened this issue Nov 18, 2023 · 0 comments
Open

Comments

@DamianMehers
Copy link

DamianMehers commented Nov 18, 2023

The APL returned to render a shopping list includes:

            "parameters": [
                "listItemDataSource",
                "listTemplateData",
                "keywordRecommendationTemplateData",
                "starterListData",
                "notificationData"
            ],

However there is no "notificationData" data source supplied:
CleanShot 2023-11-18 at 14 34 23@2x

My app (Voice in a Can) stopped rendering shopping lists as a result (I render APL as SwiftUI using the -core-library). I've looked into the example AplClient code and see that it passes "{}" when a parameter is not supplied (I treated it as an error and bailed)

Is this expected behavior? If so perhaps it could be documented.

Thanks,

Damian

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

No branches or pull requests

1 participant