Coder Social home page Coder Social logo

Comments (10)

maxceem avatar maxceem commented on August 21, 2024

Task:

  1. When creating a new JobCandidate we have to make sure, that jobId and userId are valid (exists) or return an error.
    • the same check should be when we PUT or PATCH
  2. The same when we are creating a ResourceBooking
    • the same check should be when we PUT or PATCH
  3. When we creating a ResourceBooking we have to also validate there is existent JobCandidate records with the same jobId and userId or return an error. (no need)

from taas-apis.

maxceem avatar maxceem commented on August 21, 2024

@imcaizheng ready for pick up if you like.

from taas-apis.

maxceem avatar maxceem commented on August 21, 2024

Hold on. Have to clarify one more requirement.

When we creating a ResourceBooking we have to also validate there is existent JobCandidate records with the same jobId and userId.

@nkumar-topcoder should we also check the status of JobCandidate? I guess we should not allow creating ResourceBooking for JobCandidate if JobCandidate is already has selected status. What do you think?

from taas-apis.

nkumar-topcoder avatar nkumar-topcoder commented on August 21, 2024

from taas-apis.

maxceem avatar maxceem commented on August 21, 2024

@nkumar-topcoder I've reviewed the Google Sheet about this task.

Regarding the task 3:

When we creating a ResourceBooking we have to also validate there is existent JobCandidate records with the same jobId and userId or return an error.

It feels like we can drop this requirement. I think we should let creating ResourceBooking even without JobCandidate. This would make our life more easier. Let's say we want create some new UI where we want to be able directly assigned members to the jobs. If we require existent JobCandidate we would need to create it all the time first, just to be able to create ResourceBooking immediately after that.

from taas-apis.

maxceem avatar maxceem commented on August 21, 2024

@imcaizheng you may pick this up if you like.

from taas-apis.

imcaizheng avatar imcaizheng commented on August 21, 2024

PR created #55

from taas-apis.

maxceem avatar maxceem commented on August 21, 2024

Contest https://www.topcoder.com/challenges/30158246 has been created for this ticket.

This is an automated message for maxceem via Topcoder X

from taas-apis.

maxceem avatar maxceem commented on August 21, 2024

Contest https://www.topcoder.com/challenges/30158246 has been updated - it has been assigned to aaron2017.

This is an automated message for maxceem via Topcoder X

from taas-apis.

maxceem avatar maxceem commented on August 21, 2024

Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30158246

This is an automated message for maxceem via Topcoder X

from taas-apis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.