Skip to content

Fixing name of UrlScalar #147

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nicolasspilman
Copy link

@nicolasspilman nicolasspilman commented Nov 22, 2024

The README shows that there is a scalar named URL, but the implementation of the scalar is using Url as the name. This causes an error when trying to declare and use the scalar like so:

scalar URL

I can work around it, but this seems like a potential bug? If not a bug, perhaps fixing the README would be appropriate?

scalar Url
  @specifiedBy(url: 
    "https://www.w3.org/Addressing/URL/url-spec.txt"
  )

I also realize this would be a breaking change, so can certainly reject this PR.

The README shows that there is a scalar named URL, but the implementation of the scalar is using "Url" as the name.  This causes an error when trying to declare and use the scalar like so:

```graphql
scalar URL
```

I can try to work around it, but this seems like a potential bug?
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant