Skip to content

Don't require path in UseGraphiQl to be absolute #21

@FrankyBoy

Description

@FrankyBoy

Hi!

TL;DR: we are hosting in a subdirectory (to separate different API versions). Right now we have to call https://github.com/JosephWoodward/graphiql-dotnet/blob/6ff32fb21be3fb30c981d3d0e1dcff06e03811ff/src/graphiql/GraphiQlExtensions.cs#L16 with an absolute path, meaning we have to know the subdirectory we are hosted under. I would argue removing the check on this line https://github.com/JosephWoodward/graphiql-dotnet/blob/6ff32fb21be3fb30c981d3d0e1dcff06e03811ff/src/graphiql/GraphiQlExtensions.cs#L21 does not hurt anyone and gives more flexibility.

Cheers,
FB

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions