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

[FEATURE] Add popular GraphQL scalar strategies #1690

Closed
Stranger6667 opened this issue Feb 12, 2023 · 0 comments · Fixed by #1925
Closed

[FEATURE] Add popular GraphQL scalar strategies #1690

Stranger6667 opened this issue Feb 12, 2023 · 0 comments · Fixed by #1925
Assignees
Labels
Core: Data Generation Generating test data Priority: Medium Planned for regular releases Specification: GraphQL Specific to GraphQL Type: Feature New functionalities or enhancements

Comments

@Stranger6667
Copy link
Member

Stranger6667 commented Feb 12, 2023

There are a few popular scalars like Date, they could be a part of the contrib package. These ones are taken from here:

  • BigInt - 9007199254740990
  • Byte
  • CountryCode
  • Currency
  • Date
  • DateTime
  • Duration
  • EmailAddress
  • HexColorCode
  • Hexadecimal
  • HSL
  • IBAN
  • IP
  • IPv4
  • IPv6
  • ISBN
  • JSON
  • JSONObject
  • Latitude
  • LocalDate
  • LocalDateTime
  • LocalEndTime
  • LocalTime
  • Locale
  • Longitude
  • MAC
  • NegativeFloat
  • NegativeInt
  • NonEmptyString
  • NonNegativeFloat
  • NonNegativeInt
  • NonPositiveFloat
  • NonPositiveInt
  • ObjectID
  • PhoneNumber
  • Port
  • PositiveFloat
  • PositiveInt
  • PostalCode
  • RegularExpression
  • RGB
  • RGBA
  • RoutingNumber
  • SafeInt
  • Time
  • TimeZone
  • Timestamp
  • URL
  • USCurrency
  • UtcOffset
  • UUID
@Stranger6667 Stranger6667 added Status: Needs Triage Requires initial assessment to categorize and prioritize Type: Feature New functionalities or enhancements labels Feb 12, 2023
@Stranger6667 Stranger6667 added this to the Schemathesis 4.0 milestone Feb 12, 2023
@Stranger6667 Stranger6667 self-assigned this Feb 12, 2023
@Stranger6667 Stranger6667 removed this from the 4.0 milestone Oct 12, 2023
@Stranger6667 Stranger6667 added Priority: Medium Planned for regular releases Specification: GraphQL Specific to GraphQL Core: Data Generation Generating test data and removed Status: Needs Triage Requires initial assessment to categorize and prioritize labels Oct 12, 2023
Stranger6667 added a commit that referenced this issue Dec 2, 2023
… `IPv4`, `IPv6`, `Long`, `BigInt` and `UUID`

Ref: #1690
Stranger6667 added a commit that referenced this issue Dec 2, 2023
… `IPv4`, `IPv6`, `Long`, `BigInt` and `UUID`

Ref: #1690
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core: Data Generation Generating test data Priority: Medium Planned for regular releases Specification: GraphQL Specific to GraphQL Type: Feature New functionalities or enhancements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant