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/deseng745: Updated project definition to add project type multi-select values. #81

Merged
merged 5 commits into from
Nov 25, 2024

Conversation

jareth-whitney
Copy link
Contributor

  • Updated project definition to add project type multi-select values.

Copy link
Contributor

@Baelx Baelx left a comment

Choose a reason for hiding this comment

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

I think the swagger definition for this new field may be incomplete and/or incorrect. Please see my comment in the code!

@@ -2629,6 +2651,14 @@ paths:
description: "The project phase of the file."
required: false
type: string
- name: projectTypes
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do Documents need a project type? Isn't this field just meant for projects only?

Just from reading the ticket, it looks like you'd need the projectTypes field in 4 places:

  • authenticated (/project) get
  • auth'd put
  • auth'd post
  • public (/public/project) get

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for catching it, just a misplaced field.

@@ -32,7 +32,8 @@
proMember : '{{lorem(1, "words")}}',
provElecDist : '{{lorem(1, "words")}}',
shortName : '{{lorem(1, "words")}}',
projectPhase : '{{lorem(1, "words")}}',
projectPhase : '{{lorem(1, "words")}}',
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for the due diligence but we don't need to update this!

Copy link
Contributor

@Baelx Baelx left a comment

Choose a reason for hiding this comment

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

Thanks!

@jareth-whitney jareth-whitney merged commit 6df9a41 into dev Nov 25, 2024
2 of 3 checks passed
@jareth-whitney jareth-whitney deleted the feature/deseng745 branch November 25, 2024 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants