Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add missing uids to the types and validate optional/required fields
  • Loading branch information
melnikovi committed Oct 1, 2020
commit f0ed46489a73206b992cafb511ff444375454dfa
3 changes: 2 additions & 1 deletion design-documents/graph-ql/coverage/b2b/company-credit.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ type Company {
type CompanyCreditHistory {
items: [CompanyCreditOperation]! @doc(description: "An array of company credit operations")
page_info: SearchResultPageInfo! @doc(description: "Metadata for pagination rendering")
total_count: Int @doc(description: "The number of the company credit operations matching the specified filter")
total_count: Int! @doc(description: "The number of the company credit operations matching the specified filter")
}

type CompanyCreditOperation {
uid: ID! @doc(description: "Unique identifier")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@melnikovi can you add, what this identifier should be composed of.

date: String! @doc(description: "The date of the company credit operation")
type: CompanyCreditOperationType! @doc(description: "The type of the company credit operation")
amount: Money @doc(description: "The amount fo the company credit operation")
Expand Down