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

[Discussion] Changing Namespaces #22

Closed
andreluizsecco opened this issue Dec 24, 2018 · 0 comments
Closed

[Discussion] Changing Namespaces #22

andreluizsecco opened this issue Dec 24, 2018 · 0 comments

Comments

@andreluizsecco
Copy link
Owner

I'm thinking about changing the namespaces (in the next version) and structures of the project to organize and facilitate a bit more at the time of use.
As resources increase, the use of the same namespace becomes more confusing.

ps: obviously, this will cause a breaking change.

Example

Now:

using (var client = new LuisProgClient("Your_Authoring_Key", Regions.WestUS))
{
    var apps = await client.GetAllAppsAsync();

    var intents = await client.GetAllIntentsAsync(
        appId: "24d2a592-165d-468f-8800-7778900afc11",
        appVersionId: "0.1"
    );
}

After:

using (var client = new LuisProgClient("Your_Authoring_Key", Regions.WestUS))
{
    var apps = await client.Apps.GetAllAsync();
    
    var intents = await client.Intents.GetAllAsync(
        appId: "24d2a592-165d-468f-8800-7778900afc11",
        appVersionId: "0.1"
    );
}

I would like to know your opinions and if anyone has any objections.

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

No branches or pull requests

1 participant